summaryrefslogtreecommitdiffstats
path: root/dilos/dependencies/tqt3/debian/tqt3-designer.postinst
diff options
context:
space:
mode:
authorDenis Kozadaev <[email protected]>2019-08-25 21:27:14 +0300
committerSlávek Banko <[email protected]>2019-09-10 18:16:40 +0200
commit066f870974af451f06a584e433cfd5179a1fc471 (patch)
tree01689c0dd860e0ccdf6bb7946485da42188a5fac /dilos/dependencies/tqt3/debian/tqt3-designer.postinst
parent4d80a99d10150a4098ff08654050f105d3ca1a6e (diff)
downloadtde-packaging-066f870974af451f06a584e433cfd5179a1fc471.tar.gz
tde-packaging-066f870974af451f06a584e433cfd5179a1fc471.zip
DilOS: Use BASEDIR for pre/post scripts
Signed-off-by: Denis Kozadaev <[email protected]> (cherry picked from commit 20127da5fe504b6e6b79c19ab57103f2dd2b2c24)
Diffstat (limited to 'dilos/dependencies/tqt3/debian/tqt3-designer.postinst')
-rw-r--r--dilos/dependencies/tqt3/debian/tqt3-designer.postinst3
1 files changed, 3 insertions, 0 deletions
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" \