X-Git-Url: https://git.saurik.com/winterboard.git/blobdiff_plain/95a5777bab9f18d4307f69495671a1f595ceca86..81afffe5af0e2d655d5978782bf3957cf31396c1:/prerm diff --git a/prerm b/prerm index 844448b..61375f6 100755 --- a/prerm +++ b/prerm @@ -9,6 +9,9 @@ if [[ $1 == remove ]]; then fi grep -v ' com\.saurik\.winterboard\.' /etc/notify.conf >/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