[debian-edu-commits] debian-edu/ 01/01: Add conditional remove statement for /etc/asound.conf to postinst script.
Wolfgang Schweer
schweer-guest at moszumanska.debian.org
Tue Oct 3 12:14:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
schweer-guest pushed a commit to branch master
in repository debian-edu-config.
commit 3ec187eeed503893ca2781c1096205b5e677bf77
Author: Wolfgang Schweer <wschweer at arcor.de>
Date: Tue Oct 3 14:10:26 2017 +0200
Add conditional remove statement for /etc/asound.conf to postinst script.
---
debian/debian-edu-config.postinst | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debian/debian-edu-config.postinst b/debian/debian-edu-config.postinst
index 8e713ec..7a97aae 100644
--- a/debian/debian-edu-config.postinst
+++ b/debian/debian-edu-config.postinst
@@ -127,6 +127,10 @@ fi
case "$1" in
configure)
+ if dpkg --compare-versions "$2" le "1.933" ; then
+ rm /etc/asound.conf
+ fi
+
if dpkg --compare-versions "$2" le "1.929" && dpkg --compare-versions "$2" ge "1.926" && \
egrep -q "(Main-Server)" /etc/debian-edu/config ; then
rm /etc/apache2/mods-available/userdir.load
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-config.git
More information about the debian-edu-commits
mailing list