]> git.saurik.com Git - winterboard.git/blobdiff - preinst
Add a Default-568h@2x.png for iPhone 5 support.
[winterboard.git] / preinst
diff --git a/preinst b/preinst
index 99ad9ac95c9f5c34d9a89ca0e52d68e0ee1f8fb5..e5691e6a703486f032d1cf632029f1dda1e1638c 100755 (executable)
--- a/preinst
+++ b/preinst
@@ -31,10 +31,12 @@ if [[ $1 == install || $1 == upgrade ]]; then
         cat <<EOF
 reserve com.saurik.winterboard. 0 0 rwr-r-
 monitor com.saurik.winterboard.lockbackground /var/mobile/Library/LockBackground.jpg
+monitor com.saurik.winterboard.lockbackground /var/mobile/Library/HomeBackground.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
 
 exit 0