X-Git-Url: https://git.saurik.com/winterboard.git/blobdiff_plain/2acbe5b87c2ed67cb08a18f614755dbc9e32e19c..f4fced4e1671514225c3dc3ba1ef57365c5c0f2c:/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