author | kergoth <kergoth> | 2003-03-20 18:52:27 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-03-20 18:52:27 (UTC) |
commit | 924f7675e20974ed4d469a0ada4c1df46477ad04 (patch) (unidiff) | |
tree | 52b77bd209cf9e3d41e6817afd0dff855461f6e1 | |
parent | e8be90134f3d0d79abe55ed10897309a548376eb (diff) | |
download | opie-924f7675e20974ed4d469a0ada4c1df46477ad04.zip opie-924f7675e20974ed4d469a0ada4c1df46477ad04.tar.gz opie-924f7675e20974ed4d469a0ada4c1df46477ad04.tar.bz2 |
Add prerm/postinst to add/remove /home/QtPalmtop compatibility symlink.
-rwxr-xr-x | library/opie-common.postinst | 5 | ||||
-rwxr-xr-x | library/opie-common.prerm | 5 |
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 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | [ "$1" == "configure" ] || exit 1 | ||
4 | |||
5 | 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 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | [ "$1" == "upgrade" ] && exit 1 | ||
4 | |||
5 | rm -f /home/QtPalmtop | ||