summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 56c7ecf)
raw | patch | inline | side by side (parent: 56c7ecf)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 10 Jul 2007 12:55:10 +0000 (12:55 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 10 Jul 2007 12:55:10 +0000 (12:55 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6810 594d385d-05f5-0310-b6e9-bd551577e9d8
contrib/fix_config.sh | [deleted file] | patch | blob | history |
diff --git a/contrib/fix_config.sh b/contrib/fix_config.sh
--- a/contrib/fix_config.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/sh
-
-CONF=/etc/gosa/gosa.conf
-cat << EOF
-
-This script will take your current $CONF and will update the menu and tab tags. It
-will not touch the parts you have touched between the main tabs. A backup copy is
-created.
-
-EOF
-read -n1 -sp "Do you want to continue? (y/n)" answer
-echo
-
-if [ "$answer" != "y" -a "$answer" != "Y" ]; then
- echo "Aborted."
- echo
- exit 1
-fi
-
-if [ ! -f $CONF ]; then
- echo "Can't find $CONF Aborted."
- echo
- exit 1
-fi
-
-cp $CONF $CONF.orig
-
-sed '/<main/,/\/main>/d;/<\/conf>/d' gosa.conf > $CONF
-sed -n '/<main/,/\/main>/p' $CONF.orig >> $CONF
-echo '</conf>' >> $CONF