diff options
author | Jay Freeman <saurik@saurik.com> | 2008-05-08 19:08:48 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2008-05-08 19:08:48 +0000 |
commit | 33f4aad8c58ff824e6fbad89a03f364beeac14fd (patch) | |
tree | 960557f2012d701cdd3ce1190d4732f2e7d9eaaf /data/mobileterminal/_metadata | |
parent | 9a888b9a4d236fab2d48a83c6eff8b49d8e0eee5 (diff) |
Moved to unstable MobileTerminal branch.
git-svn-id: http://svn.telesphoreo.org/trunk@269 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/mobileterminal/_metadata')
-rw-r--r-- | data/mobileterminal/_metadata/postinst | 13 | ||||
-rw-r--r-- | data/mobileterminal/_metadata/version | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/data/mobileterminal/_metadata/postinst b/data/mobileterminal/_metadata/postinst new file mode 100644 index 000000000..c0b1fb066 --- /dev/null +++ b/data/mobileterminal/_metadata/postinst @@ -0,0 +1,13 @@ +#!/bin/bash +shopt -s extglob + +if [[ $# -gt 1 && $1 == configure ]]; then + ver=${2%%?(u)-*([0-9])} + rev=${2##*-} + + if [[ ${ver} -lt 286 || ${ver} -eq 286 && ${rev} -lt 6 ]]; then + rm -f ~mobile/Library/Preferences/com.googlecode.mobileterminal.plist + fi +fi + +exit 0 diff --git a/data/mobileterminal/_metadata/version b/data/mobileterminal/_metadata/version index 305aa9857..61ccac771 100644 --- a/data/mobileterminal/_metadata/version +++ b/data/mobileterminal/_metadata/version @@ -1 +1 @@ -273 +286u |