File tree 1 file changed +12
-5
lines changed
1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ source lib.sh
4
4
5
5
INSTALL_PACKAGES=(
6
6
avahi-daemon vim lshw iotop screen tmux # essentials
7
- # docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin # docker
7
+ docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin # docker
8
8
# quicksynergy # dogi
9
9
matchbox-keyboard # virtual keyboard
10
10
mdadm initramfs-tools rsync # for RAID1
@@ -49,10 +49,17 @@ _op _chroot apt-mark hold linux-image-rpi-v8
49
49
_op _chroot apt-mark hold linux-headers-rpi-2712
50
50
_op _chroot apt-mark hold linux-image-rpi-2712
51
51
52
- if [[ ${INSTALL_PACKAGES:- } ]] ; then
53
- echo " Installing ${INSTALL_PACKAGES[*]} "
54
- _apt install " ${INSTALL_PACKAGES[@]} " || die " Could not install ${INSTALL_PACKAGES[*]} "
55
- fi
52
+ # if [[ ${INSTALL_PACKAGES:-} ]] ; then
53
+ # echo "Installing ${INSTALL_PACKAGES[*]}"
54
+ # _apt install "${INSTALL_PACKAGES[@]}" || die "Could not install ${INSTALL_PACKAGES[*]}"
55
+ # fi
56
+
57
+ for package in " ${INSTALL_PACKAGES[@]} " ; do
58
+ _apt install -y " $package "
59
+ if [[ $? -ne 0 ]]; then
60
+ echo " Error installing $package . Continuing..."
61
+ fi
62
+ done
56
63
57
64
_op _chroot apt-mark hold tor # TODO bring back to upstream
58
65
_op _chroot apt-mark unhold linux-headers-rpi-v8
You can’t perform that action at this time.
0 commit comments