diff options
| author | crupest <crupest@outlook.com> | 2022-11-01 00:24:11 +0800 | 
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2022-11-01 00:24:11 +0800 | 
| commit | 352d7694bcd23282a67551e137611f1770e7605a (patch) | |
| tree | 8d465d24889081a988b48ae81a1ab20efdf8040f /docker/arch-code-server | |
| parent | ac16053eaddccffc6136e0bd668a9ddfb99738ec (diff) | |
| download | crupest-352d7694bcd23282a67551e137611f1770e7605a.tar.gz crupest-352d7694bcd23282a67551e137611f1770e7605a.tar.bz2 crupest-352d7694bcd23282a67551e137611f1770e7605a.zip  | |
...
Diffstat (limited to 'docker/arch-code-server')
| -rwxr-xr-x | docker/arch-code-server/archlinux-setup-user.bash | 16 | 
1 files changed, 10 insertions, 6 deletions
diff --git a/docker/arch-code-server/archlinux-setup-user.bash b/docker/arch-code-server/archlinux-setup-user.bash index 2b39bd2..3a72bb3 100755 --- a/docker/arch-code-server/archlinux-setup-user.bash +++ b/docker/arch-code-server/archlinux-setup-user.bash @@ -6,19 +6,23 @@ if [ "${CRUPEST_IN_DOCKER}" != "true" ]; then      exit 1  fi -cd ~ || exit 1 +# don't allow any error +set -e -mkdir data +cd ~  mkdir aur -cd aur || exit 1 +cd aur  # install all aur packages -for aur_package in ${CRUPEST_AUR_PACKAGES} ; do +for aur_package in code-server ${CRUPEST_AUR_PACKAGES} ; do      echo "Installing ${aur_package} from AUR..."      git clone "https://aur.archlinux.org/${aur_package}.git" --depth 1 -    pushd "${aur_package}" || exit 1 +    pushd "${aur_package}"      makepkg -sr --noconfirm      makepkg --packagelist | sudo pacman -U --noconfirm - -    popd || exit 1 +    popd  done + +# finnally, test code-server +code-server --version  | 
