home · contact · privacy
Fixes.
authorChristian Heller <c.heller@plomlompom.de>
Thu, 21 Aug 2025 04:49:55 +0000 (06:49 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Thu, 21 Aug 2025 04:49:55 +0000 (06:49 +0200)
trixie/aptmark/all [changed from symlink to file mode: 0644]
trixie/scripts/lib/ensure_packages_of_tags.sh
trixie/scripts/make_writable_installer.sh

deleted file mode 120000 (symlink)
index 1913f5e9f4679f55fd3d9937f1f38e675de94130..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1 +0,0 @@
-../../bookworm/aptmark/all
\ No newline at end of file
new file mode 100644 (file)
index 0000000000000000000000000000000000000000..63a92309ff00d8f0a7d572c2627f05a8062f200a
--- /dev/null
@@ -0,0 +1,25 @@
+# connectivity: ifupdown seems necessary everyhwere, isc-dhcp-client unpredictably so
+ifupdown
+isc-dhcp-client
+# git for the setup directory; cloning works with ca-certificates
+ca-certificates
+git
+# to avoid constant warnings about no locale being found
+locales
+# extremely useful for basic network debugging; missed these more than once in an emergency
+netcat-traditional
+iputils-ping
+# to set the time
+ntpsec-ntpdate
+# generally useful for debugging, so necessary
+vim
+ack
+# not scrictly necessary except apt really likes to complain if nothing like this
+dialog
+# you'll notice when you can't reboot anymore
+systemd-sysv
+# general apt goodness
+apt-utils
+# lots of little trouble if this missing
+dbus
+#
index c4495f6d0ca94f30042a8a3337ba2d68f9e7274e..53a1ee303356d3837c14f5de138a5016ede5894c 100644 (file)
@@ -12,7 +12,7 @@ for _TAG in $@; do
         printf 'checking if installed … '
         if dpkg-query -Wf '${Package}\n' | grep '^'"${_PACKAGE}"'$' > /dev/null; then
             echo 'yup, keeping!'
-            apt_digested "${_APT_ARG} ${_PACKAGE}"
+            apt_digested ${_APT_ARG} ${_PACKAGE}
         else
             echo 'nope, nothing to keep.'
         fi
@@ -28,7 +28,7 @@ for _TAG in $@; do
         echo 'nothing to install.'
     else
         echo "ensuring installation of: ${_PACKAGES}"
-        apt_digested "${_APT_ARG} ${_PACKAGES}"
+        apt_digested ${_APT_ARG} ${_PACKAGES}
     fi
 done
 prefixed_msg_exit
index 8e0ecd0640ddc980a1cf3ef8681a13132ab4dae1..5aecd7a4bbfcd18a724b4c4d1e7c5058b6fd5668 100755 (executable)
@@ -90,8 +90,10 @@ if [ "${RESULT}" != "0" ]; then
     prefixed_msg '\nrsync encountered errors, see above – continue? (Y/N)'
     read -r ANSWER
     FIRST_CHAR=$(echo "${ANSWER}" | cut -c1)
-    if ! [ "${FIRST_CHAR}" = 'y' ] || [ "${FIRST_CHAR}" = 'Y' ]; then
+    if [ ! "${FIRST_CHAR}" = 'y' ] && [ ! "${FIRST_CHAR}" = 'Y' ]; then
         abort 'as requested'
+    else
+        echo 'continuing'
     fi
 fi