summaryrefslogtreecommitdiff
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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