From f332f99c57675599930429c5f3e6644ecf9fa493 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 11 Mar 2020 15:28:17 +0100 Subject: Debian: fix postinst - force bash --- debian/python3-django-ishtar.postinst | 4 ++-- 1 file 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" -- cgit v1.2.3