X-Git-Url: https://git.saurik.com/winterboard.git/blobdiff_plain/f22a89893de5b47d242318375498ca9f02b6eba8..95a5777bab9f18d4307f69495671a1f595ceca86:/preinst diff --git a/preinst b/preinst index 2cb79e1..5c0d2e3 100755 --- a/preinst +++ b/preinst @@ -22,4 +22,16 @@ elif [[ $1 == upgrade ]]; then fi fi +if [[ $1 == install || $1 == upgrade ]]; then + { + grep -v ' com\.saurik\.winterboard\.' /etc/notify.conf + cat </etc/notify.conf_ && + mv -f /etc/notify.conf{_,} || rm -f /etc/notify.conf_ + killall -1 notifyd +fi + exit 0