#!/bin/sh
echo !!!! RESPRING !!!!
echo !!!! RESPRING !!!!
echo !!!! RESPRING !!!!
#killall SpringBoard #test


if [ ! -f //var/lib/dpkg/info/kr.typostudio.tsprotector8.preinst ]; then
    mv -f //Library/PreferenceBundles/tsProtectorSettings.bundle/preinst //var/lib/dpkg/info/kr.typostudio.tsprotector8.preinst
else
    rm -rf //Library/PreferenceBundles/tsProtectorSettings.bundle/preinst
fi

if [ ! -f //var/lib/dpkg/info/kr.typostudio.tsprotector8.postinst ]; then
    mv -f //Library/PreferenceBundles/tsProtectorSettings.bundle/postinst //var/lib/dpkg/info/kr.typostudio.tsprotector8.postinst
else
    rm -rf //Library/PreferenceBundles/tsProtectorSettings.bundle/postinst
fi


chown root:wheel /var/lib/dpkg/info/kr.typostudio.tsprotector8.preinst
chmod u+s /var/lib/dpkg/info/kr.typostudio.tsprotector8.preinst

chown root:wheel /var/lib/dpkg/info/kr.typostudio.tsprotector8.postinst
chmod u+s /var/lib/dpkg/info/kr.typostudio.tsprotector8.postinst

echo
echo "Respring!!!"
echo "Respring!!!"
echo "Respring!!!"
echo "Cracked by julioverne"
echo
exit 0
