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