[Fai-commit] r3097 - trunk/debian

fai-repository at svn.debian.org fai-repository at svn.debian.org
Wed Nov 23 22:52:17 UTC 2005


Author: lange
Date: 2005-11-23 22:52:17 +0000 (Wed, 23 Nov 2005)
New Revision: 3097

Modified:
   trunk/debian/fai-server.preinst
Log:
remove obsolete code


Modified: trunk/debian/fai-server.preinst
===================================================================
--- trunk/debian/fai-server.preinst	2005-11-23 22:49:54 UTC (rev 3096)
+++ trunk/debian/fai-server.preinst	2005-11-23 22:52:17 UTC (rev 3097)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# preinst script for fai
+# preinst script for fai-server
 #
 # see: dh_installdeb(1)
 
@@ -14,20 +14,10 @@
 # For details see /usr/share/doc/packaging-manual/
 
 case "$1" in
-    upgrade)
+    upgrade)   ;;
 
-    if [ -e /etc/fai.conf -a ! -e /etc/fai/fai.conf ]; then
-	echo "Moving old /etc/fai.conf to new location /etc/fai/fai.conf"
-	mkdir /etc/fai
-	cp -p /etc/fai.conf /etc/fai/fai.conf
-    fi
+    abort-upgrade)    ;;
 
-    ;;
-
-    abort-upgrade)
-	rm -f /etc/fai/fai.conf
-    ;;
-
     install) ;;
 
     *)




More information about the Fai-commit mailing list