Update pacapt installation method

This commit is contained in:
Nicolas Meienberger 2022-05-25 22:48:35 +02:00
parent afbac29364
commit c33b91f6ce
2 changed files with 6 additions and 4 deletions

2
.gitignore vendored
View file

@ -7,6 +7,8 @@ traefik/ssl/*
!traefik/ssl/.gitkeep
!app-data/.gitkeep
scripts/pacapt
state/*
!state/.gitkeep

View file

@ -14,10 +14,10 @@ echo "=============== TIPI ================="
echo "======================================"
echo
sudo wget -O /usr/local/bin/pacapt https://github.com/icy/pacapt/raw/ng/pacapt
sudo chmod 755 /usr/local/bin/pacapt
sudo ln -sv /usr/local/bin/pacapt /usr/local/bin/pacman || true
sudo pacapt -Sy; sudo pacapt -S docker docker-ce docker-compose containerd.io jq coreutils curl -y
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-ce docker-compose containerd.io jq coreutils curl -y
# Create configured status
touch "${ROOT_FOLDER}/state/configured"