]> git.saurik.com Git - winterboard.git/blobdiff - preinst
Next public release.
[winterboard.git] / preinst
diff --git a/preinst b/preinst
index 99ad9ac95c9f5c34d9a89ca0e52d68e0ee1f8fb5..b55968e04d8a8f48588fa344f209f93f13e00b04 100755 (executable)
--- a/preinst
+++ b/preinst
@@ -33,6 +33,8 @@ reserve com.saurik.winterboard. 0 0 rwr-r-
 monitor com.saurik.winterboard.lockbackground /var/mobile/Library/LockBackground.jpg
 EOF
     } >/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