[debian-edu-commits] debian-edu/ 01/01: Move distro-specific configuration files to /etc/educlient, rather than /usr/share/educlient. Config files stay config files and should be editable.

Mike Gabriel sunweaver at debian.org
Wed Oct 14 05:35:45 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 2c82b80908e12a4c8da84259835b6a306c303bd2
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Oct 14 07:29:12 2015 +0200

    Move distro-specific configuration files to /etc/educlient, rather than /usr/share/educlient. Config files stay config files and should be editable.
---
 debian/educlient.install  | 2 +-
 debian/educlient.postinst | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/educlient.install b/debian/educlient.install
index 7610737..905953b 100644
--- a/debian/educlient.install
+++ b/debian/educlient.install
@@ -1,2 +1,2 @@
-etc* /usr/share/educlient
+etc* /etc/educlient
 usr /usr/share/educlient
diff --git a/debian/educlient.postinst b/debian/educlient.postinst
index 867c2c2..47704ad 100755
--- a/debian/educlient.postinst
+++ b/debian/educlient.postinst
@@ -40,9 +40,9 @@ if [ "$NAME" = "Debian GNU/Linux" ]; then
 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"
+ETC_DISTRIB_VERSION="/etc/educlient/etc-distrib/${DISTRIB_ID}/${DISTRIB_RELEASE}"
+ETC_DISTRIB_COMMON="/etc/educlient/etc-distrib/${DISTRIB_ID}/common"
+ETC_COMMON="/etc/educlient/etc-common"
 
 if [ ! -d ${ETC_DISTRIB_VERSION} ]; then
 	echo "This Linux distribution and/or version (${DISTRIB_ID} ${DISTRIB_RELEASE} is not supported by this package."

-- 
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