]> git.saurik.com Git - winterboard.git/blobdiff - prerm
Better document Debug Logging.
[winterboard.git] / prerm
diff --git a/prerm b/prerm
index 844448b4e05ec0e920f7cf87cfe4899d35ee0f16..61375f66a1dd7eb85bf88d7d97559fd7bb94d96b 100755 (executable)
--- a/prerm
+++ b/prerm
@@ -9,6 +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