浏览代码

Add systemctl docker

Nicolas Meienberger 3 年之前
父节点
当前提交
6112e7e69b
共有 1 个文件被更改,包括 7 次插入1 次删除
  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 chmod 755 "${ROOT_FOLDER}"/scripts/pacapt
 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 enable docker.service
 
+# If we are on Arch
+# if [[ "${LSB}" == "Arch" ]]; then
+# fi
+
 # Create configured status
 touch "${ROOT_FOLDER}/state/configured"