summarylogtreecommitdiffstats
path: root/opendylan.install
diff options
context:
space:
mode:
Diffstat (limited to 'opendylan.install')
-rw-r--r--opendylan.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/opendylan.install b/opendylan.install
new file mode 100644
index 000000000000..4174733da68e
--- /dev/null
+++ b/opendylan.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo "/opt/opendylan/lib" >> /etc/ld.so.conf.d/opendylan.conf
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ rm /etc/ld.so.conf.d/opendylan.conf
+}
+
+op=$1
+shift
+$op $*