X-Git-Url: https://git.saurik.com/winterboard.git/blobdiff_plain/5a923d4bd5efa2dea6d8bece02498b05a2d3a724..6e9f4e0265b29345db2bc13f86bc55c0bc9de0d7:/prerm diff --git a/prerm b/prerm index b40e181..61375f6 100755 --- a/prerm +++ b/prerm @@ -9,8 +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