Explorar o código

Add systemctl docker

Nicolas Meienberger %!s(int64=3) %!d(string=hai) anos
pai
achega
6112e7e69b
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      scripts/configure.sh

+ 7 - 1
scripts/configure.sh

@@ -17,10 +17,16 @@ echo
 sudo wget -O "${ROOT_FOLDER}"/scripts/pacapt https://github.com/icy/pacapt/raw/ng/pacapt
 sudo wget -O "${ROOT_FOLDER}"/scripts/pacapt https://github.com/icy/pacapt/raw/ng/pacapt
 sudo chmod 755 "${ROOT_FOLDER}"/scripts/pacapt
 sudo chmod 755 "${ROOT_FOLDER}"/scripts/pacapt
 sudo "${ROOT_FOLDER}"/scripts/pacapt -Sy
 sudo "${ROOT_FOLDER}"/scripts/pacapt -Sy
-sudo "${ROOT_FOLDER}"/scripts/pacapt -S docker docker-compose jq coreutils curl -y
+sudo "${ROOT_FOLDER}"/scripts/pacapt -S docker docker-compose jq coreutils curl lsb-release -y
+
+LSB="$(lsb_release -is)"
 
 
 systemctl start docker.service
 systemctl start docker.service
 systemctl enable docker.service
 systemctl enable docker.service
 
 
+# If we are on Arch
+# if [[ "${LSB}" == "Arch" ]]; then
+# fi
+
 # Create configured status
 # Create configured status
 touch "${ROOT_FOLDER}/state/configured"
 touch "${ROOT_FOLDER}/state/configured"