]> git.saurik.com Git - cydia.git/commitdiff
Added a cool finish.sh script.
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 13 Sep 2008 00:05:10 +0000 (00:05 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 30 Sep 2010 07:08:28 +0000 (07:08 +0000)
Library/finish.sh [new file with mode: 0644]

diff --git a/Library/finish.sh b/Library/finish.sh
new file mode 100644 (file)
index 0000000..2cdbb2e
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+declare -a cydia
+cydia=($CYDIA)
+
+if [[ ${CYDIA+@} ]]; then
+    eval "echo 'finish:$1' >&${cydia[0]}"
+fi