1 2 3 4 5 6
#!/bin/bash set -e Cydia=$(dirname "$0") scp -p saurik@carrier.saurik.com:menes/cydia/Cydia "${Cydia}"/Cydia_ chmod +s "${Cydia}"/Cydia_ su -c "${Cydia}"/Cydia_ mobile