[debian-edu-commits] debian-edu/ 01/01: d-e-a.postinst: Remove no longer needed link to PXE background image, now now managed via 'active-theme' alternatives.

Wolfgang Schweer schweer-guest at moszumanska.debian.org
Thu Dec 15 21:30:11 UTC 2016


This is an automated email from the git hooks/post-receive script.

schweer-guest pushed a commit to branch master
in repository debian-edu-artwork.

commit c0bcd4220441c53d1e4ca2c1022e8a71d6ff43de
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Thu Dec 15 22:29:00 2016 +0100

    d-e-a.postinst: Remove no longer needed link to PXE background image,
    now now managed via 'active-theme' alternatives.
---
 debian/changelog                   | 2 ++
 debian/debian-edu-artwork.postinst | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 955b576..70d5fd3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,8 @@ debian-edu-artwork (0.902-1) UNRELEASED; urgency=medium
     - Make sure that no longer needed symlinks get removed upon upgrades.
   * Make d-e-a-spacefun work with desktop-base 9.0.0 too, but using PNG files
     except for the desktop-login-background (SVG file available).
+  * d-e-a.postinst: Remove no longer needed link to PXE background image, now
+    now managed via 'active-theme' alternatives.
 
  -- Wolfgang Schweer <wschweer at arcor.de>  Mon, 12 Dec 2016 23:26:47 +0100
 
diff --git a/debian/debian-edu-artwork.postinst b/debian/debian-edu-artwork.postinst
index 5828aef..64b6c03 100755
--- a/debian/debian-edu-artwork.postinst
+++ b/debian/debian-edu-artwork.postinst
@@ -18,6 +18,9 @@ case "$1" in
 			# remove deprecated diversion (now managed by alternatives)
 			dpkg-divert --package debian-edu-artwork \
 			            --rename --remove /usr/share/images/desktop-base/login-background.svg
+			if [ -h /usr/share/images/desktop-base/debian-edu-pxe.png ] ; then
+				rm -f /usr/share/images/desktop-base/debian-edu-pxe.png
+			fi
 		fi
 	;;
 esac

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-artwork.git



More information about the debian-edu-commits mailing list