[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#262582: Fix apache-modconf script



tags 262582 + patch
thanks

--- /usr/sbin/apache-modconf~	2004-06-24 22:40:22.000000000 +0200
+++ /usr/sbin/apache-modconf	2004-08-01 09:12:57.000000000 +0200
@@ -65,7 +65,7 @@
 		fi
 	done
 
-	cd -
+	cd - >/dev/null
 
 	if [ "$err" = "1" ]; then
 		echo "The above errors might cause $FLA to not work properly or start"
@@ -120,7 +120,7 @@
 		cd /usr/lib/apache/1.3/ &&\
 		LC_COLLATE=C &&\
 		ls *.info | sed -e 's/\.info$/,/g' -e 's/^...//g' &&\
-		cd -`
+		cd - >/dev/null`
 
 	available=`blacklist_modules "$available"`
 
@@ -158,7 +158,7 @@
 	for i in $enabled; do
 		mapped="`$GREP -l $i.so$ *.info | sed -e 's/\.info$/,/g' -e 's/^...//g'` $mapped"
 	done
-	cd -
+	cd - >/dev/null
 
 	# this enable or disable a module
 	# note that the enable now checks if the module is already there
@@ -293,7 +293,7 @@
 		mv -f /etc/$FLA/modules.conf.perlfix.dpkg-inst.queue /etc/$FLA/modules.conf.dpkg-inst.queue
 	fi
 
-	cd -
+	cd - >/dev/null
 }
 
 set_defaults() {



Reply to: