summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-09-13 00:05:10 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:08:28 +0000
commit4304cd79e05dfa71effb48b12a8c72d1d14a2002 (patch)
treeab81a98965a9e3d22bd0547fc363c5f0240b1a67
parent87f46a96f9663b9195d0a1bcc1f9d3e9be183d1a (diff)
Added a cool finish.sh script.
-rw-r--r--Library/finish.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/finish.sh b/Library/finish.sh
new file mode 100644
index 0000000..2cdbb2e
--- /dev/null
+++ b/Library/finish.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+declare -a cydia
+cydia=($CYDIA)
+
+if [[ ${CYDIA+@} ]]; then
+ eval "echo 'finish:$1' >&${cydia[0]}"
+fi