]> git.saurik.com Git - winterboard.git/blobdiff - prerm
Super speed up, navigation bar style per style, user wallpaper change detector, sound...
[winterboard.git] / prerm
diff --git a/prerm b/prerm
index a383ff2cb658ca885f8f304ac9d64526fdfe0dc7..844448b4e05ec0e920f7cf87cfe4899d35ee0f16 100755 (executable)
--- a/prerm
+++ b/prerm
@@ -7,4 +7,8 @@ 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_ &&
+        mv -f /etc/notify.conf{_,} || rm -f /etc/notify.conf_
+    killall -1 notifyd
 fi