]> git.saurik.com Git - winterboard.git/blobdiff - prerm
Make docks even more transparent.
[winterboard.git] / prerm
diff --git a/prerm b/prerm
index a383ff2cb658ca885f8f304ac9d64526fdfe0dc7..61375f66a1dd7eb85bf88d7d97559fd7bb94d96b 100755 (executable)
--- 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