]> git.saurik.com Git - winterboard.git/blobdiff - prerm
Hide the non-functional Hide WinterBoard option.
[winterboard.git] / prerm
diff --git a/prerm b/prerm
index b40e1813575a60aae4c7052acbb15f4a9d6c3758..61375f66a1dd7eb85bf88d7d97559fd7bb94d96b 100755 (executable)
--- a/prerm
+++ b/prerm
@@ -9,8 +9,9 @@ if [[ $1 == remove ]]; then
     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_
-    killall -1 notifyd
 fi
 
 exit 0