summaryrefslogtreecommitdiff
authorkergoth <kergoth>2003-03-20 18:52:27 (UTC)
committer kergoth <kergoth>2003-03-20 18:52:27 (UTC)
commit924f7675e20974ed4d469a0ada4c1df46477ad04 (patch) (side-by-side diff)
tree52b77bd209cf9e3d41e6817afd0dff855461f6e1
parente8be90134f3d0d79abe55ed10897309a548376eb (diff)
downloadopie-924f7675e20974ed4d469a0ada4c1df46477ad04.zip
opie-924f7675e20974ed4d469a0ada4c1df46477ad04.tar.gz
opie-924f7675e20974ed4d469a0ada4c1df46477ad04.tar.bz2
Add prerm/postinst to add/remove /home/QtPalmtop compatibility symlink.
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xlibrary/opie-common.postinst5
-rwxr-xr-xlibrary/opie-common.prerm5
2 files changed, 10 insertions, 0 deletions
diff --git a/library/opie-common.postinst b/library/opie-common.postinst
new file mode 100755
index 0000000..23ccdc3
--- a/dev/null
+++ b/library/opie-common.postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+[ "$1" == "configure" ] || exit 1
+
+ln -sf /opt/QtPalmtop /home/QtPalmtop
diff --git a/library/opie-common.prerm b/library/opie-common.prerm
new file mode 100755
index 0000000..1a1b4cd
--- a/dev/null
+++ b/library/opie-common.prerm
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+[ "$1" == "upgrade" ] && exit 1
+
+rm -f /home/QtPalmtop