summaryrefslogtreecommitdiffstats
path: root/dilos/dependencies/tqt3/debian/tqt3-linguist.postinst
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2019-08-25 21:27:14 +0300
committerSlávek Banko <slavek.banko@axis.cz>2019-09-09 21:07:12 +0200
commit20127da5fe504b6e6b79c19ab57103f2dd2b2c24 (patch)
treebbe77e8633a003f74c35d7c92b4158aad3a8db2c /dilos/dependencies/tqt3/debian/tqt3-linguist.postinst
parent9e40aca75e29bf5202146a6b33d0d0723b6a3f89 (diff)
downloadtde-packaging-20127da5fe504b6e6b79c19ab57103f2dd2b2c24.tar.gz
tde-packaging-20127da5fe504b6e6b79c19ab57103f2dd2b2c24.zip
DilOS: Use BASEDIR for pre/post scripts
Signed-off-by: Denis Kozadaev <denis@dilos.org>
Diffstat (limited to 'dilos/dependencies/tqt3/debian/tqt3-linguist.postinst')
-rw-r--r--dilos/dependencies/tqt3/debian/tqt3-linguist.postinst3
1 files changed, 3 insertions, 0 deletions
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" \