-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Not actually tested, because I'm too tired tonight to try setting up a real repository (as opposed to dpkg -i).
- Loading branch information
Showing
4 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
# for now, always reboot on install/uninstall | ||
|
||
# <- http://iphonedevwiki.net/index.php/Packaging#Telling_Cydia_to_respring.2Freboot_etc._after_install | ||
function finish() { | ||
f="${1}" | ||
[[ -z "${f}" || -z "${CYDIA}" ]] && return | ||
cydia=(${CYDIA}) | ||
[[ ${cydia[1]} -eq 1 ]] || return | ||
echo "finish:${f}" >&${cydia[0]} | ||
} | ||
|
||
finish reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
|
||
# for now, always reboot on install/uninstall | ||
|
||
# <- http://iphonedevwiki.net/index.php/Packaging#Telling_Cydia_to_respring.2Freboot_etc._after_install | ||
function finish() { | ||
f="${1}" | ||
[[ -z "${f}" || -z "${CYDIA}" ]] && return | ||
cydia=(${CYDIA}) | ||
[[ ${cydia[1]} -eq 1 ]] || return | ||
echo "finish:${f}" >&${cydia[0]} | ||
} | ||
|
||
if [[ "$1" == "remove" ]]; then | ||
finish reboot | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters