[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] sbin/debian-edu-pxeinstall: Silence stderr output if the artwork theme lacks a...

Mike Gabriel (@sunweaver) gitlab at salsa.debian.org
Thu Feb 24 11:57:55 GMT 2022



Mike Gabriel pushed to branch master at Debian Edu / debian-edu-config


Commits:
0c7960c9 by Mike Gabriel at 2022-02-24T12:57:39+01:00
sbin/debian-edu-pxeinstall: Silence stderr output if the artwork theme lacks a plymouth subfolder. This can be silently ignored and should not trouble Debian Edu admins.

- - - - -


2 changed files:

- debian/changelog
- sbin/debian-edu-pxeinstall


Changes:

=====================================
debian/changelog
=====================================
@@ -9,6 +9,8 @@ debian-edu-config (2.12.18) UNRELEASED; urgency=medium
       the graphical.target not coming up on Debian Edu workstations that got
       installed via the PXE/network based Debian Installer method. (Closes:
       #1006362).
+    - Silence stderr output if the artwork theme lacks a plymouth subfolder.
+      This can be silently ignored and should not trouble Debian Edu admins.
 
  -- Mike Gabriel <sunweaver at debian.org>  Sun, 20 Feb 2022 19:35:36 +0100
 


=====================================
sbin/debian-edu-pxeinstall
=====================================
@@ -64,7 +64,7 @@ fi
 [ "$mydesktop" ]  || mydesktop=xfce
 [ "$graphicdi" ]  || graphicdi=false
 [ "$dailydi" ]    || dailydi=false
-[ "$theme" ]      || theme="$(ls -L /etc/alternatives/desktop-theme/plymouth | grep script | cut -d'.' -f 1)"
+[ "$theme" ]      || theme="$(ls -L /etc/alternatives/desktop-theme/plymouth 2>/dev/null | grep script | cut -d'.' -f 1)"
 # Not hardcoded to allow PXE installation of a main-server without a
 # proxy set
 #[ "$http_proxy" ] || http_proxy=http://webcache:3128



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/0c7960c94f43c3f6b4f440782afbcb3a471efbaf

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/0c7960c94f43c3f6b4f440782afbcb3a471efbaf
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20220224/09c410de/attachment-0001.htm>


More information about the debian-edu-commits mailing list