]> git.saurik.com Git - winterboard.git/blob - Test.sh
Avoid unnecessary SummerBoard stringWithFormat:s.
[winterboard.git] / Test.sh
1 #!/bin/bash
2 set -e
3
4 ip=$1
5 app=$2
6
7 if [[ -z $ip ]]; then
8 exit 1;
9 fi
10
11 make package
12 scp -p winterboard.deb root@"$ip":
13 ssh root@"$ip" dpkg -i winterboard.deb
14
15 if [[ -n $app ]]; then
16 ssh root@"$ip" killall "$app"
17 fi