summaryrefslogtreecommitdiffstats
path: root/abs/core/kdelibs3/kdelibs3.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/kdelibs3/kdelibs3.install')
-rw-r--r--abs/core/kdelibs3/kdelibs3.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/kdelibs3/kdelibs3.install b/abs/core/kdelibs3/kdelibs3.install
new file mode 100644
index 0000000..060ba21
--- /dev/null
+++ b/abs/core/kdelibs3/kdelibs3.install
@@ -0,0 +1,11 @@
+post_install() {
+ grep -q '/opt/kde/lib' etc/ld.so.conf || echo '/opt/kde/lib' >> etc/ld.so.conf
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ sed -ie '/\/opt\/kde\/lib/d' etc/ld.so.conf
+}