X-Git-Url: https://git.saurik.com/winterboard.git/blobdiff_plain/2acbe5b87c2ed67cb08a18f614755dbc9e32e19c..861a768b335c09a2d7b24a6892c126b5afc95147:/preinst diff --git a/preinst b/preinst index 99ad9ac..e5691e6 100755 --- a/preinst +++ b/preinst @@ -31,10 +31,12 @@ if [[ $1 == install || $1 == upgrade ]]; then cat </etc/notify.conf_ && + chmod --reference=/etc/notify.conf /etc/notify.conf_ && + chown --reference=/etc/notify.conf /etc/notify.conf_ && mv -f /etc/notify.conf{_,} || rm -f /etc/notify.conf_ - killall -1 notifyd fi exit 0