[debian-edu-commits] debian-edu/ 77/437: * start the kde kiosk profiles and create the basic configuration

Mike Gabriel sunweaver at debian.org
Sun Mar 2 23:49:25 UTC 2014


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

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

commit 3798cee65a3a9c8af9fed1c640e7b34b3d9fbf91
Author: Steffen Joeris <white at debian.org>
Date:   Fri Sep 15 04:59:25 2006 +0000

    * start the kde kiosk profiles and create the basic
      configuration
---
 debian/changelog                   |  8 +++++++-
 debian/debian-edu-artwork.postinst | 23 +++++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 4b85f96..2473f68 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,17 @@
 debian-edu-artwork (0.0.11~1) unstable; urgency=low
 
+  [ Petter Reinholdtsen ]
   * Clean up package removal code.
   * Update README with into that the images should be GPL-licensed and
     that "source" files should be included for the images to make them
     easy to modify.
 
- -- Petter Reinholdtsen <pere at localhost>  Thu, 14 Sep 2006 22:52:53 +0200
+  [ Steffen Joeris ]
+  * Add code to debian-edu-artwork.postinst to start the kde kiosk
+    profiles for debian-edu which creates basic configuration for
+    the /etc/kderc and the /etc/kde-user-profile as a mapping file
+
+ -- Petter Reinholdtsen <pere at debian.org>  Thu, 14 Sep 2006 22:52:53 +0200
 
 debian-edu-artwork (0.0.10) unstable; urgency=low
 
diff --git a/debian/debian-edu-artwork.postinst b/debian/debian-edu-artwork.postinst
index c170ffc..c9bf35c 100644
--- a/debian/debian-edu-artwork.postinst
+++ b/debian/debian-edu-artwork.postinst
@@ -2,6 +2,29 @@
 
 set -e
 
+KIOSK_MAP_FILE="/etc/kde-user-profile"
+KIOSK_CONFIG_FILE="/etc/kderc"
+# Install the file kde-user-profile if it does not exist to ensure
+# we can use our kiosk modes
+if [ ! -e "$KIOSK_MAP_FILE" ] ; then
+	cat >> $KIOSK_MAP_FILE << EOT
+[General]
+groups=students
+
+[Groups]
+students=debian_edu_pupils
+EOT
+
+if [ ! -e "$KIOSK_CONFIG_FILE" ] ; then
+	cat >> $KIOSK_CONFIG_FILE << EOT
+[Directories]
+userProfileMapFile=/etc/kde-user-profile
+
+[Directories-debian_edu_pupils]
+ProfileDescription=Debian-Edu Profile for pupils
+prefixes=/usr/share/debian-edu-artwork/kde-profile/debian_edu_pupils
+EOT
+
 #DEBHELPER#
 
 case "$1" in

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