X-Git-Url: https://git.saurik.com/winterboard.git/blobdiff_plain/95a5777bab9f18d4307f69495671a1f595ceca86..62ab6edbb3f23b74650ddb7e3ad054702f7eaa43:/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