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