From 066f870974af451f06a584e433cfd5179a1fc471 Mon Sep 17 00:00:00 2001 From: Denis Kozadaev Date: Sun, 25 Aug 2019 21:27:14 +0300 Subject: DilOS: Use BASEDIR for pre/post scripts Signed-off-by: Denis Kozadaev (cherry picked from commit 20127da5fe504b6e6b79c19ab57103f2dd2b2c24) --- dilos/dependencies/tqt3/debian/tqt3-linguist.postinst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dilos/dependencies/tqt3/debian/tqt3-linguist.postinst') 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" \ -- cgit v1.2.1