From 5e4163bcb67638a70779e7874cdb01b0a05534f4 Mon Sep 17 00:00:00 2001 From: Mart124 <37041094+Mart124@users.noreply.github.com> Date: Wed, 2 Oct 2019 16:41:13 +0200 Subject: [PATCH] Remove old compat from run.sh (#572) --- scripts/run.sh | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/scripts/run.sh b/scripts/run.sh index e092c6f56c..5cb461a3b1 100644 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -43,21 +43,6 @@ then echo $LGID >>$ENV_DIR/uid.env fi -# Backwards compat GID/UID for pre-1.20.0 installations -if [[ "$COREVERSION" == *.*.* ]] && - echo -e "1.19.0\n$COREVERSION" | sort -t '.' -k 1,1 -k 2,2 -k 3,3 -n | awk 'END {if($0!="1.19.0") {exit 1}}' -then - LUID="LOCAL_UID=`id -u $USER`" - LGID="LOCAL_GID=`awk -F: '$1=="docker" {print $3}' /etc/group`" - if [ "$OS" == "mac" ] - then - LUID="LOCAL_UID=999" - LGID="LOCAL_GID=999" - fi - echo $LUID >$ENV_DIR/uid.env - echo $LGID >>$ENV_DIR/uid.env -fi - # Functions function install() {