From 3141a309fb6f5bf2fa63bb34ba59dbb4aad8f9fb Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Mon, 13 Jan 2014 08:44:21 -0800 Subject: [PATCH] The old test.sh was for Telesphoreo: I hate OS X. --- Test.sh | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/Test.sh b/Test.sh index 7287427..df14755 100755 --- a/Test.sh +++ b/Test.sh @@ -1,6 +1,17 @@ #!/bin/bash -rm -f WinterBoard.dylib set -e -rsync --exclude .svn -SPaz 'saurik@carrier.saurik.com:menes/winterboard/{WinterBoard{,.dylib},UIImages}' . -rsync --exclude .svn -SPaz 'saurik@carrier.saurik.com:menes/winterboard/*.theme' /Library/Themes/ -#killall SpringBoard + +ip=$1 +app=$2 + +if [[ -z $ip ]]; then + exit 1; +fi + +make package +scp -p winterboard.deb root@"$ip": +ssh root@"$ip" dpkg -i winterboard.deb + +if [[ -n $app ]]; then + ssh root@"$ip" killall "$app" +fi -- 2.45.2