summaryrefslogtreecommitdiffstats
path: root/dilos/dependencies
diff options
context:
space:
mode:
Diffstat (limited to 'dilos/dependencies')
-rw-r--r--dilos/dependencies/tqt3/debian/libtqt3-mt.postrm8
-rw-r--r--dilos/dependencies/tqt3/debian/tqt3-assistant.postinst3
-rw-r--r--dilos/dependencies/tqt3/debian/tqt3-assistant.prerm3
-rw-r--r--dilos/dependencies/tqt3/debian/tqt3-designer.postinst3
-rw-r--r--dilos/dependencies/tqt3/debian/tqt3-designer.prerm3
-rw-r--r--dilos/dependencies/tqt3/debian/tqt3-dev-tools.postinst3
-rw-r--r--dilos/dependencies/tqt3/debian/tqt3-dev-tools.prerm3
-rw-r--r--dilos/dependencies/tqt3/debian/tqt3-linguist.postinst3
-rw-r--r--dilos/dependencies/tqt3/debian/tqt3-linguist.prerm3
-rw-r--r--dilos/dependencies/tqt3/debian/tqt3-qtconfig.postinst3
-rw-r--r--dilos/dependencies/tqt3/debian/tqt3-qtconfig.prerm3
11 files changed, 36 insertions, 2 deletions
diff --git a/dilos/dependencies/tqt3/debian/libtqt3-mt.postrm b/dilos/dependencies/tqt3/debian/libtqt3-mt.postrm
index bb679158a..6556affdc 100644
--- a/dilos/dependencies/tqt3/debian/libtqt3-mt.postrm
+++ b/dilos/dependencies/tqt3/debian/libtqt3-mt.postrm
@@ -1,8 +1,12 @@
#!/bin/sh
+if [ "${BASEDIR:=/}" = "/" ]; then
+ BASEDIR=""
+fi
+
if [ "$1" = "purge" ]; then
- if [ -d "/usr/share/doc/libtqt3-mt/" ]; then
- rm -rf /usr/share/doc/libtqt3-mt/
+ if [ -d "${BASEDIR}/usr/share/doc/libtqt3-mt/" ]; then
+ rm -rf ${BASEDIR}/usr/share/doc/libtqt3-mt/
fi
fi
diff --git a/dilos/dependencies/tqt3/debian/tqt3-assistant.postinst b/dilos/dependencies/tqt3/debian/tqt3-assistant.postinst
index 041457133..2852229d7 100644
--- a/dilos/dependencies/tqt3/debian/tqt3-assistant.postinst
+++ b/dilos/dependencies/tqt3/debian/tqt3-assistant.postinst
@@ -1,6 +1,9 @@
#!/bin/sh
set -e
+if [ "${BASEDIR:=/}" = "/" ]; then
+ BASEDIR=""
+fi
update-alternatives --install \
/usr/bin/assistant assistant "/usr/bin/tqassistant" "45" \
diff --git a/dilos/dependencies/tqt3/debian/tqt3-assistant.prerm b/dilos/dependencies/tqt3/debian/tqt3-assistant.prerm
index 36371091e..048730aa0 100644
--- a/dilos/dependencies/tqt3/debian/tqt3-assistant.prerm
+++ b/dilos/dependencies/tqt3/debian/tqt3-assistant.prerm
@@ -1,6 +1,9 @@
#!/bin/sh
set -e
+if [ "${BASEDIR:=/}" = "/" ]; then
+ BASEDIR=""
+fi
case "$1" in
upgrade) ;;
diff --git a/dilos/dependencies/tqt3/debian/tqt3-designer.postinst b/dilos/dependencies/tqt3/debian/tqt3-designer.postinst
index 91d69ce08..2cf5abe7f 100644
--- a/dilos/dependencies/tqt3/debian/tqt3-designer.postinst
+++ b/dilos/dependencies/tqt3/debian/tqt3-designer.postinst
@@ -1,6 +1,9 @@
#!/bin/sh
set -e
+if [ "${BASEDIR:=/}" = "/" ]; then
+ BASEDIR=""
+fi
update-alternatives --install \
/usr/bin/designer designer "/usr/bin/tqdesigner" "45" \
diff --git a/dilos/dependencies/tqt3/debian/tqt3-designer.prerm b/dilos/dependencies/tqt3/debian/tqt3-designer.prerm
index 93376ef35..02cf2ff66 100644
--- a/dilos/dependencies/tqt3/debian/tqt3-designer.prerm
+++ b/dilos/dependencies/tqt3/debian/tqt3-designer.prerm
@@ -1,6 +1,9 @@
#!/bin/sh
set -e
+if [ "${BASEDIR:=/}" = "/" ]; then
+ BASEDIR=""
+fi
case "$1" in
upgrade) ;;
diff --git a/dilos/dependencies/tqt3/debian/tqt3-dev-tools.postinst b/dilos/dependencies/tqt3/debian/tqt3-dev-tools.postinst
index b6c833de8..1ea211dc0 100644
--- a/dilos/dependencies/tqt3/debian/tqt3-dev-tools.postinst
+++ b/dilos/dependencies/tqt3/debian/tqt3-dev-tools.postinst
@@ -1,6 +1,9 @@
#!/bin/sh
set -e
+if [ "${BASEDIR:=/}" = "/" ]; then
+ BASEDIR=""
+fi
update-alternatives --install \
/usr/bin/moc moc "/usr/bin/tqmoc" "45" \
diff --git a/dilos/dependencies/tqt3/debian/tqt3-dev-tools.prerm b/dilos/dependencies/tqt3/debian/tqt3-dev-tools.prerm
index 0ec40c9e9..1f8b6a46c 100644
--- a/dilos/dependencies/tqt3/debian/tqt3-dev-tools.prerm
+++ b/dilos/dependencies/tqt3/debian/tqt3-dev-tools.prerm
@@ -1,6 +1,9 @@
#!/bin/sh
set -e
+if [ "${BASEDIR:=/}" = "/" ]; then
+ BASEDIR=""
+fi
case "$1" in
upgrade) ;;
diff --git a/dilos/dependencies/tqt3/debian/tqt3-linguist.postinst b/dilos/dependencies/tqt3/debian/tqt3-linguist.postinst
index 4c51e97bf..1acec2d69 100644
--- a/dilos/dependencies/tqt3/debian/tqt3-linguist.postinst
+++ b/dilos/dependencies/tqt3/debian/tqt3-linguist.postinst
@@ -1,6 +1,9 @@
#!/bin/sh
set -e
+if [ "${BASEDIR:=/}" = "/" ]; then
+ BASEDIR=""
+fi
update-alternatives --install \
/usr/bin/linguist linguist "/usr/bin/tqlinguist" "45" \
diff --git a/dilos/dependencies/tqt3/debian/tqt3-linguist.prerm b/dilos/dependencies/tqt3/debian/tqt3-linguist.prerm
index 47d704eb8..4037445d0 100644
--- a/dilos/dependencies/tqt3/debian/tqt3-linguist.prerm
+++ b/dilos/dependencies/tqt3/debian/tqt3-linguist.prerm
@@ -1,6 +1,9 @@
#!/bin/sh
set -e
+if [ "${BASEDIR:=/}" = "/" ]; then
+ BASEDIR=""
+fi
case "$1" in
upgrade) ;;
diff --git a/dilos/dependencies/tqt3/debian/tqt3-qtconfig.postinst b/dilos/dependencies/tqt3/debian/tqt3-qtconfig.postinst
index 68671a6ef..ffe1572da 100644
--- a/dilos/dependencies/tqt3/debian/tqt3-qtconfig.postinst
+++ b/dilos/dependencies/tqt3/debian/tqt3-qtconfig.postinst
@@ -1,6 +1,9 @@
#!/bin/sh
set -e
+if [ "${BASEDIR:=/}" = "/" ]; then
+ BASEDIR=""
+fi
update-alternatives --install \
/usr/bin/qtconfig qtconfig "/usr/bin/tqtconfig" "45" \
diff --git a/dilos/dependencies/tqt3/debian/tqt3-qtconfig.prerm b/dilos/dependencies/tqt3/debian/tqt3-qtconfig.prerm
index 27f898ea3..5024559d2 100644
--- a/dilos/dependencies/tqt3/debian/tqt3-qtconfig.prerm
+++ b/dilos/dependencies/tqt3/debian/tqt3-qtconfig.prerm
@@ -1,6 +1,9 @@
#!/bin/sh
set -e
+if [ "${BASEDIR:=/}" = "/" ]; then
+ BASEDIR=""
+fi
case "$1" in
upgrade) ;;