summaryrefslogtreecommitdiffstats
path: root/abs/core/qt3/qt.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 18:24:03 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 18:24:03 (GMT)
commit8cff87efa971141bf4670a7621b08975e6800945 (patch)
tree3c1c31c00427a3a24deb1605ad2c8b0a2d76b100 /abs/core/qt3/qt.install
parentc9c7d42b1b791d4056b4fc9b4b649e14983bb0db (diff)
downloadlinhes_pkgbuild-8cff87efa971141bf4670a7621b08975e6800945.zip
linhes_pkgbuild-8cff87efa971141bf4670a7621b08975e6800945.tar.gz
linhes_pkgbuild-8cff87efa971141bf4670a7621b08975e6800945.tar.bz2
qt3
Diffstat (limited to 'abs/core/qt3/qt.install')
-rw-r--r--abs/core/qt3/qt.install22
1 files changed, 5 insertions, 17 deletions
diff --git a/abs/core/qt3/qt.install b/abs/core/qt3/qt.install
index 4e2d6b6..6d042da 100644
--- a/abs/core/qt3/qt.install
+++ b/abs/core/qt3/qt.install
@@ -1,24 +1,12 @@
post_install() {
- if ! [ `grep '/opt/qt/lib' etc/ld.so.conf` ]; then
- echo "/opt/qt/lib" >>etc/ld.so.conf
- sbin/ldconfig -r .
- fi
- echo "INFORMATION:"
- echo "Documentation is seperated it's called qt3-doc"
+ post_remove
}
post_upgrade() {
- /bin/true
+ post_remove
}
-pre_remove() {
- cat etc/ld.so.conf | grep -v '/opt/qt/lib' >/tmp/.pacqt
- mv /tmp/.pacqt etc/ld.so.conf
- chmod 644 etc/ld.so.conf
- sbin/ldconfig -r .
+post_remove() {
+ # this can be removed in future versions
+ sed -e '/\/opt\/qt\/lib/d' -i etc/ld.so.conf
}
-
-op=$1
-shift
-
-$op $*