X-Git-Url: https://git.saurik.com/winterboard.git/blobdiff_plain/d5fb6e012f6166bc6ea83aeb8dc7e84794199b1f..e9c2cd6503b1a1c84b955aa518241537aa751f51:/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