Update config-docker.conf

This commit is contained in:
Igor Pečovnik
2021-12-17 15:13:07 +01:00
committed by GitHub
parent 195b46d762
commit 1025014f07

View File

@@ -12,7 +12,7 @@ mkdir -p $SRC/{output,userpatches}
grep -q '^docker:' /etc/group && chgrp --quiet docker $SRC/{output,userpatches}
chmod --quiet g+w,g+s $SRC/{output,userpatches}
#VERSION=$(cat $SRC/VERSION)
VERSION=$(cat $SRC/VERSION | sed 's/trunk.*/trunk/')
VERSION=$(cat $SRC/VERSION | sed 's/trunk.*/trunk/')"-$(dpkg --print-architecture)"
if grep -q $VERSION <(grep armbian <(docker images)); then
display_alert "Using existed a armbian Docker container"
else