From 33f4aad8c58ff824e6fbad89a03f364beeac14fd Mon Sep 17 00:00:00 2001 From: Jay Freeman Date: Thu, 8 May 2008 19:08:48 +0000 Subject: Moved to unstable MobileTerminal branch. git-svn-id: http://svn.telesphoreo.org/trunk@269 514c082c-b64e-11dc-b46d-3d985efe055d --- data/mobileterminal/_metadata/postinst | 13 +++++++++++++ data/mobileterminal/_metadata/version | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 data/mobileterminal/_metadata/postinst (limited to 'data/mobileterminal/_metadata') 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 -- cgit v1.2.3