summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-03-11 15:28:17 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2023-01-09 18:05:36 +0100
commitf332f99c57675599930429c5f3e6644ecf9fa493 (patch)
tree23a90f85b2f7ae00e8ce684061e1c9a23d5a34a1
parent4d99b644fa7b09207e4ab12855181bff730496e2 (diff)
downloadIshtar-f332f99c57675599930429c5f3e6644ecf9fa493.tar.bz2
Ishtar-f332f99c57675599930429c5f3e6644ecf9fa493.zip
Debian: fix postinst - force bash
-rw-r--r--debian/python3-django-ishtar.postinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/python3-django-ishtar.postinst b/debian/python3-django-ishtar.postinst
index 833243495..6dd3f99a0 100644
--- a/debian/python3-django-ishtar.postinst
+++ b/debian/python3-django-ishtar.postinst
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
set -e
#set -x
@@ -30,7 +30,7 @@ case "$1" in
if [ ! -f $CONFIG_PATH/config ]; then
cp /usr/share/python3-django-ishtar/install/config.template $CONFIG_PATH/config ;
fi
- . $CONFIG_PATH/config
+ source $CONFIG_PATH/config
export LANG=$ISHTAR_LOCALE.UTF-8
if [ "$(locale 2>&1 >/dev/null|wc -l)" != 0 ]; then
cecho r "Unable to set LANG=$LANG properly"