summaryrefslogtreecommitdiff
path: root/utils/lib.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-12-26 11:43:18 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-12-26 11:43:18 +0100
commitd175a0fb7bdcc00632a9092f5de1037f0dd1d811 (patch)
tree2a6e4cd8896c75109db7d6b41e29169979684f69 /utils/lib.sh
parentbc7bd1d80a9113d5606bbfd18e96216373578647 (diff)
downloadsearxng-d175a0fb7bdcc00632a9092f5de1037f0dd1d811.tar.gz
searxng-d175a0fb7bdcc00632a9092f5de1037f0dd1d811.zip
[mod] LXC_ENV_FOLDER moved from ./lxc to ./lxc-env
BTW: - add target $(LXC_ENV_FOLDER) - fix indentations Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/lib.sh')
-rwxr-xr-xutils/lib.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/lib.sh b/utils/lib.sh
index 878e7df32..83dd75077 100755
--- a/utils/lib.sh
+++ b/utils/lib.sh
@@ -1381,7 +1381,7 @@ in_container() {
LXC_ENV_FOLDER=
if in_container; then
# shellcheck disable=SC2034
- LXC_ENV_FOLDER="lxc/$(hostname)/"
+ LXC_ENV_FOLDER="lxc-env/$(hostname)/"
fi
lxc_init_container_env() {
@@ -1413,8 +1413,8 @@ LXC_BASE_PACKAGES_centos="bash git python3"
case $DIST_ID in
ubuntu|debian) LXC_BASE_PACKAGES="${LXC_BASE_PACKAGES_debian}" ;;
arch) LXC_BASE_PACKAGES="${LXC_BASE_PACKAGES_arch}" ;;
- fedora) LXC_BASE_PACKAGES="${LXC_BASE_PACKAGES_fedora}" ;;
- centos) LXC_BASE_PACKAGES="${LXC_BASE_PACKAGES_centos}" ;;
+ fedora) LXC_BASE_PACKAGES="${LXC_BASE_PACKAGES_fedora}" ;;
+ centos) LXC_BASE_PACKAGES="${LXC_BASE_PACKAGES_centos}" ;;
*) err_msg "$DIST_ID-$DIST_VERS: pkg_install LXC_BASE_PACKAGES not yet implemented" ;;
esac