#!/bin/sh

#  if0x utilities.sh
#
echo "Package ID? or type help for help "
read id
if [ "$id" = "help" ]
    then    echo "you can find the package ID at the bottom of their Cydia page"
            echo "or in the package.list file you've backuped before"
            sleep 1s
            echo "for example: net.if0x.cybackup"
            sleep 1s
            echo "you've to insert net.if0x.cybackup"
            sleep 1s
            echo "for restart hit return"
            read restart
            su root CyBackup_main
else

            echo "removing tweak"
            echo y | apt-get remove "$id"
            echo "please hit return to respring"
            read respring
            killall SpringBoard && uicache
            echo "----------------done----------------"
fi

#
#  Created by @if0xxx on 02.09.16.
#
