YunoHost-Apps / minidlna_ynh

MiniDLNA (ReadyMedia) package for YunoHost
GNU General Public License v3.0
2 stars 4 forks source link

warning while removing #30

Open fflorent opened 1 year ago

fflorent commented 1 year ago

While removing the application (yunohost app remove minidlna), we get this warning:

sysctl: cannot open "/etc/sysctl.d/90-inotify_minidlna.conf": No such file or directory

(this error message was translated from French, if it is not literally the warning message, you get the idea ^^)

This is due to these lines, where we attempt to reload a file after its removal: https://github.com/YunoHost-Apps/minidlna_ynh/blob/7570b11b220f889cf50715c65520b305e55da8aa/scripts/remove#L61-L68