[debian-edu-commits] debian-edu/ 03/05: debian/educlient.prerm: Linux distro and version detection not required in prerm script.

Mike Gabriel sunweaver at debian.org
Fri Oct 9 04:04:26 UTC 2015


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

sunweaver pushed a commit to branch multi-distro-support
in repository educlient.

commit a6ba7d685dc3d03e0f60d2fa10682cd523f649f6
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Oct 9 05:59:25 2015 +0200

    debian/educlient.prerm: Linux distro and version detection not required in prerm script.
---
 debian/educlient.prerm | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/debian/educlient.prerm b/debian/educlient.prerm
index 752bdd8..7034c71 100755
--- a/debian/educlient.prerm
+++ b/debian/educlient.prerm
@@ -15,17 +15,6 @@ if [ -f /etc/lsb-release ]; then
     . /etc/lsb-release
 fi
 
-# vanilla Debian does not ship /etc/lsb-release...
-if [ "$NAME" = "Debian GNU/Linux" ]; then
-    DISTRIB_ID=Debian
-    DISTRIB_RELEASE=$VERSION_ID
-fi
-
-# Divert configuration files
-ETC_DISTRIB_VERSION="/usr/share/educlient/etc-distrib/${DISTRIB_ID}/${DISTRIB_RELEASE}"
-ETC_DISTRIB_COMMON="/usr/share/educlient/etc-distrib/${DISTRIB_ID}/common"
-ETC_COMMON="/usr/share/educlient/etc-common"
-
 if [ ! -f /etc/debian-edu/educlient.files-diverted ] && [ ! -f /etc/debian-edu/educlient.files-added ]; then
 	exit 0
 fi

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



More information about the debian-edu-commits mailing list