home · contact · privacy
Minor fix.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 22 Mar 2025 07:02:18 +0000 (08:02 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 22 Mar 2025 07:02:18 +0000 (08:02 +0100)
testing/scripts/setup_desktop.sh

index 5405ecd22aacf215b5bb0af0adf23a59840a53b2..d939fc49adfe7d68ec82844add02755e02679964 100755 (executable)
@@ -20,6 +20,7 @@ PATH_REL_APT=apt
 PATH_REL_APT_CONF=${PATH_REL_APT}/apt.conf.d
 TAG_ALL=all
 TAGS_USER='user desktop'
+THINKPAD_NAMES="x220 w530 t490s"
 
 export DEBIAN_FRONTEND=noninteractive
 
@@ -47,7 +48,6 @@ copy_dirtree() {
 }
 
 get_system_class_for() {
-    THINKPAD_NAMES="x220 w530 t490s"
     for THINKPAD_NAME in $THINKPAD_NAMES; do
         if [ "$1" = "${THINKPAD_NAME}" ]; then
             printf 'thinkpad'
@@ -173,7 +173,7 @@ echo "\nInstalling and/or keeping only what's required by us or Debian."
 # Ensure package installation state as defined by what packages are
 # defined as required by Debian policy and by settings in ./aptmark.
 mark_nonrequireds_auto
-if [ "${SYSTEM_NAME}" = "h610m" ]; then
+if [ "${SYSTEM_NAME}" = 'h610m' ]; then
     # Hold kernel known to work with nvidia-drivers.
     apt-mark hold linux-image-amd64 linux-headers-amd64
 fi