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

Bug#215826: patch for reversion of modules.conf



Hi Fabio,

the attached patch fixes the reversion problem.
But one problem still remains: when I enable a module, it always
gets appended to the end of the list, but I thought the module
load order is defined by the number prefix in front of the .info
filename. So this needs still to be sorted out...

Ciao, Bastian
-- 
  ,''`.    Bastian Kleineidam  .  calvin (at) debian.org
 : :' :
 `. `'    GnuPG Schlüssel http://kampfwurst.net/gpgkey.txt
   `-

Men are from Mars. Women are from Venus. Computers are from hell.

--- modules-config	2003-10-17 23:28:27.000000000 +0200
+++ /usr/sbin/modules-config	2003-10-17 23:31:20.000000000 +0200
@@ -85,7 +85,7 @@
 	# so we convert module names to info names (they look better to users)
 	cd /usr/lib/apache/1.3
 	for i in $enabled; do
-		mapped="`grep -l $i.so$ *.info | sed -e 's/\.info$/,/g' -e 's/^...//g'` $mapped"
+		mapped="$mapped `grep -l $i.so$ *.info | sed -e 's/\.info$/,/g' -e 's/^...//g'`"
 	done
 	cd -
 

Attachment: signature.asc
Description: Digital signature


Reply to: