[debian-edu-commits] debian-edu/ 04/08: Drop config file, the related debian/templates file and debian/preinst; this has been unneeded since a long time.

Wolfgang Schweer schweer-guest at moszumanska.debian.org
Sun Mar 11 17:25:50 UTC 2018


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

schweer-guest pushed a commit to branch master
in repository desktop-profiles.

commit bd8f719d3ae48fb0661e9920b9a758537c143047
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Sun Mar 11 18:15:05 2018 +0100

    Drop config file, the related debian/templates file and debian/preinst;
    this has been unneeded since a long time.
---
 debian/config    | 30 ------------------------------
 debian/preinst   | 20 --------------------
 debian/templates | 13 -------------
 3 files changed, 63 deletions(-)

diff --git a/debian/config b/debian/config
deleted file mode 100755
index 4cc341f..0000000
--- a/debian/config
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-set -e
-
-# source debconf library
-. /usr/share/debconf/confmodule
-
-# if gconf path file needs changes in order to activate the gnome profiles 
-# then warn the user of that (critical-priority if changing from old variables
-# as not changing in that case potentially breaks gnome)
-if (test -e /etc/gconf/2/path) ; then
-  if ! ( (grep 'include *\$(ENV_MANDATORY_PATH)' /etc/gconf/2/path 2>&1 > /dev/null ) ||
-         (grep 'include *\$(ENV_DEFAULTS_PATH)'  /etc/gconf/2/path 2>&1 > /dev/null ) ); then
-    if ( (grep 'include /var/cache/desktop-profiles/\$(USER)_mandatory.path' /etc/gconf/2/path 2>&1 > /dev/null ) ||
-         (grep 'include /var/cache/desktop-profiles/\$(USER)_defaults.path'  /etc/gconf/2/path 2>&1 > /dev/null ) ); then
-      db_input critical desktop-profiles/replace-old-vars || true;
-      db_go || true;
-    fi;  
-  fi;	 
-elif (test -e /etc/gconf/1/path) ; then
-  if ! ( (grep 'include *\$(ENV_MANDATORY_PATH)' /etc/gconf/1/path 2>&1 > /dev/null ) ||
-         (grep 'include *\$(ENV_DEFAULTS_PATH)'  /etc/gconf/1/path 2>&1 > /dev/null ) ); then
-    if ( (grep 'include /var/cache/desktop-profiles/\$(USER)_mandatory.path' /etc/gconf/1/path 2>&1 > /dev/null ) ||
-         (grep 'include /var/cache/desktop-profiles/\$(USER)_defaults.path'  /etc/gconf/1/path 2>&1 > /dev/null ) ); then
-      db_input critical desktop-profiles/replace-old-vars || true;
-      db_go || true;
-    fi;  
-  fi;
-fi;  
-
-#DEBHELPER#
diff --git a/debian/preinst b/debian/preinst
deleted file mode 100644
index 51e0974..0000000
--- a/debian/preinst
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# if we're upgrading from a version using the old format
-if( (test "$1" = "upgrade") && (dpkg --compare-versions "$2" lt "1.4") ); then
-  #convert to the new format, saving the old just to be completely save
-  for FILE in `ls /etc/desktop-profiles/*.listing`; do
-    mv $FILE $FILE.oldformat;
-    cat $FILE.oldformat | sed -e 's/\(.*;\)\(.*;.*;.*;\)\(.*;\)\(.*\)/\1\3\2\4/g' > $FILE
-  done;  
-fi;  
-
-# if we're upgrading from a version that didn't have the path2listing script
-# ensure we don't loose the old defaults
-if( (test "$1" = "upgrade") && (dpkg --compare-versions "$2" lt "1.4.6") ); then
-  cat /etc/desktop-profiles/desktop-profiles.listing | grep ';GCONF;' > /etc/desktop-profiles/desktop-profiles_path2listing.listing 
-fi;
-
-#DEBHELPER#
diff --git a/debian/templates b/debian/templates
deleted file mode 100644
index 40f065b..0000000
--- a/debian/templates
+++ /dev/null
@@ -1,13 +0,0 @@
-Template: desktop-profiles/replace-old-vars
-Type: note
-_Description: Global gconf path file needs to be changed!
- The include directives used by desktop-profiles have changed (in response to
- bug 309978, see the bug report and corresponding entry in the changelog of
- version 1.4.6 of this package for details).
- .
- To reenable gconf profiles you need to change /etc/gconf/2/path as follows:\n
- - 'include /var/cache/desktop-profiles/\$(USER)_mandatory.path' should be
- 'include \$(ENV_MANDATORY_PATH)' and\n
- - 'include /var/cache/desktop-profiles/\$(USER)_defaults.path' should be
- 'include \$(ENV_DEFAULTS_PATH)'
-

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



More information about the debian-edu-commits mailing list