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

Bug#246741: diskless-image-simple: postinst runs nonexistent "devfs"

tags 246741 patch

On further investigation, it's trying to set a variable called devfs,
but with a space after the variable name, so it's interpreted as a

The attached patch fixes the problem.

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe!
--- diskless-image-simple.postinst.bak	2004-04-30 21:10:38.000000000 +0000
+++ diskless-image-simple.postinst	2004-04-30 21:05:53.000000000 +0000
@@ -16,9 +16,9 @@
 	db_get diskless-image/devfs; devfs="$RET";
 	# convert from good looking boolean template to what expected in the scripts
 	if [ $devfs = 'true' ] ; then
-		devfs = 'yes'
+		devfs='yes'
-		devfs = 'no'
+		devfs='no'
 	. /etc/diskless-image/config.sh

Reply to: