[debian-edu-commits] [Git][debian-edu/debian-edu-artwork][master] Adjust debian/update-debian-edu-artwork-{buster, homeworld, softwaves}

Wolfgang Schweer gitlab at salsa.debian.org
Sat Feb 20 22:41:10 GMT 2021



Wolfgang Schweer pushed to branch master at Debian Edu / debian-edu-artwork


Commits:
30520cb8 by Wolfgang Schweer at 2021-02-20T23:01:36+01:00
Adjust debian/update-debian-edu-artwork-{buster,homeworld,softwaves}

  Make sure the Plymouth theme is restored to the Debian default one in case
 'update-debian-edu-artwork-{buster,homeworld,softwaves} remove' is run.

Signed-off-by: Wolfgang Schweer <wschweer at arcor.de>

- - - - -


4 changed files:

- debian/changelog
- debian/update-debian-edu-artwork-buster
- debian/update-debian-edu-artwork-homeworld
- debian/update-debian-edu-artwork-softwaves


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+debian-edu-artwork (2.11.5-2) UNRELEASED; urgency=medium
+
+  * debian/update-debian-edu-artwork-{buster,homeworld,softwaves}:
+    - Make sure the Plymouth theme is restored to the Debian default one in case
+      'update-debian-edu-artwork-{buster,homeworld,softwaves} remove' is run.
+
+ -- Wolfgang Schweer <wschweer at arcor.de>  Fri, 19 Feb 2021 17:02:21 +0100
+
 debian-edu-artwork (2.11.5-1) unstable; urgency=medium
 
   [ Wolfgang Schweer ]


=====================================
debian/update-debian-edu-artwork-buster
=====================================
@@ -107,6 +107,12 @@ set_plymouth_theme() {
     fi
 }
 
+restore_plymouth_theme() {
+    if [ -f /etc/plymouth/plymouthd.conf ] && which plymouth-set-default-theme > /dev/null ; then
+        plymouth-set-default-theme -R -r || true
+    fi
+}
+
 ## Lockscreen
 set_lockscreen() {
     update-alternatives --install \
@@ -143,6 +149,7 @@ case "$1" in
 		restore_active_theme
 		restore_grub_background
 		restore_desktop_background
+		restore_plymouth_theme
 		restore_lockscreen
 	;;
 esac


=====================================
debian/update-debian-edu-artwork-homeworld
=====================================
@@ -113,6 +113,12 @@ set_plymouth_theme() {
     fi
 }
 
+restore_plymouth_theme() {
+    if [ -f /etc/plymouth/plymouthd.conf ] && which plymouth-set-default-theme > /dev/null ; then
+        plymouth-set-default-theme -R -r || true
+    fi
+}
+
 ## Lockscreen
 set_lockscreen() {
     update-alternatives --install \
@@ -149,6 +155,7 @@ case "$1" in
 		restore_active_theme
 		restore_grub_background
 		restore_desktop_background
+		restore_plymouth_theme
 		restore_lockscreen
 	;;
 esac


=====================================
debian/update-debian-edu-artwork-softwaves
=====================================
@@ -109,6 +109,12 @@ set_plymouth_theme() {
     fi
 }
 
+restore_plymouth_theme() {
+    if [ -f /etc/plymouth/plymouthd.conf ] && which plymouth-set-default-theme > /dev/null ; then
+        plymouth-set-default-theme -R -r || true
+    fi
+}
+
 ## Lockscreen
 set_lockscreen() {
     update-alternatives --install \
@@ -145,6 +151,7 @@ case "$1" in
 		restore_active_theme
 		restore_grub_background
 		restore_desktop_background
+		restore_plymouth_theme
 		restore_lockscreen
 	;;
 esac



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-artwork/-/commit/30520cb8ca49fc32620c0c6019c5fc891b6ddf14

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-artwork/-/commit/30520cb8ca49fc32620c0c6019c5fc891b6ddf14
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/20210220/11cc07fd/attachment-0001.htm>


More information about the debian-edu-commits mailing list