mirror of
https://github.com/YunoHost-Apps/minidlna_ynh.git
synced 2024-09-03 19:36:34 +02:00
Invert IS_PACKAGE_CHECK usage
This commit is contained in:
parent
e2bf4cd796
commit
4b60894730
4 changed files with 4 additions and 4 deletions
|
@ -77,7 +77,7 @@ ynh_app_setting_set $app version ${version:0:1}
|
|||
# Augmentation du nombre maximum de fichiers surveillés par inotify.
|
||||
cp -a ../conf/90-inotify_minidlna.conf /etc/sysctl.d/
|
||||
# Et rechargement de la config du noyau.
|
||||
if IS_PACKAGE_CHECK; then
|
||||
if ! IS_PACKAGE_CHECK; then
|
||||
sysctl -p /etc/sysctl.d/90-inotify_minidlna.conf
|
||||
fi
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ if [ -e "/etc/sysctl.d/90-inotify_minidlna.conf" ]; then
|
|||
ynh_print_info "Delete kernel config" >&2
|
||||
ynh_secure_remove "/etc/sysctl.d/90-inotify_minidlna.conf"
|
||||
# Et rechargement de la config du noyau.
|
||||
if IS_PACKAGE_CHECK; then
|
||||
if ! IS_PACKAGE_CHECK; then
|
||||
sysctl -p /etc/sysctl.d/90-inotify_minidlna.conf
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -68,7 +68,7 @@ fi
|
|||
#=================================================
|
||||
|
||||
ynh_restore_file "/etc/sysctl.d/90-inotify_minidlna.conf"
|
||||
if IS_PACKAGE_CHECK; then
|
||||
if ! IS_PACKAGE_CHECK; then
|
||||
sysctl -p /etc/sysctl.d/90-inotify_minidlna.conf
|
||||
fi
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ fi
|
|||
# Augmentation du nombre maximum de fichiers surveillés par inotify.
|
||||
cp -a ../conf/90-inotify_minidlna.conf /etc/sysctl.d/
|
||||
# Et rechargement de la config du noyau.
|
||||
if IS_PACKAGE_CHECK; then
|
||||
if ! IS_PACKAGE_CHECK; then
|
||||
sysctl -p /etc/sysctl.d/90-inotify_minidlna.conf
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue