X-Git-Url: https://git.saurik.com/winterboard.git/blobdiff_plain/d5fb6e012f6166bc6ea83aeb8dc7e84794199b1f..ffae0a2f98525da5bae77497898c39efdea5eb9a:/prerm diff --git a/prerm b/prerm index a383ff2..61375f6 100755 --- a/prerm +++ b/prerm @@ -7,4 +7,11 @@ if [[ $1 == remove ]]; then if [[ ${CYDIA+@} ]]; then eval "echo 'finish:restart' >&${cydia[0]}" 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_ fi + +exit 0