Coda File System

Re: Tackled some debian build-bugs

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Mon, 26 Jun 2000 12:53:51 -0400
On Mon, Jun 26, 2000 at 02:39:19PM +0200, Guido Witmond wrote:
> Hello Debian Coda users,
> 
> I'm installing Coda to create a redundant high available cluster service 
> under linux. But I noticed the package handled the module-configuration
> in the old-fashioned way by writing to conf.modules directly.
> 
> I removed the offending code from coda-src/scripts/venus-setup and fixed
> a bug in dh_installmodules that prevented the debian/modules to get installed
> correctly.

Thanks, that's something I never noticed. I wonder why dh_installmodules
didn't pick up the modules file, from looking at your patch it depended
on /etc/modutils not yet being present in the build tree, I wonder what
has created that directory then.

A better patch would probably be,

--- dh_installmodules.orig	Mon Jun 26 12:50:02 2000
+++ dh_installmodules	Mon Jun 26 12:50:45 2000
@@ -27,8 +27,8 @@
 	if ($file) {
 		if (! -e "$TMP/etc/modutils") {
 			doit("install","-d","$TMP/etc/modutils");
-			doit("install","-m","0644",$file,"$TMP/etc/modutils/$PACKAGE");
 		}
+		doit("install","-m","0644",$file,"$TMP/etc/modutils/$PACKAGE");
 	}
 
 	if (! $dh{NOSCRIPTS} &&
Received on 2000-06-26 13:09:06