From 15052c100e148a94553ee155d7384b67e6537675 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 9 Jul 2002 13:23:49 +0000 Subject: fix boot freeze on hw change: initscript was running us with stdout redirected to /dev/null; just use a small sh wrapper to fix it --- perl-install/Makefile.drakxtools | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'perl-install/Makefile.drakxtools') diff --git a/perl-install/Makefile.drakxtools b/perl-install/Makefile.drakxtools index e5e7f4ae8..bae306025 100644 --- a/perl-install/Makefile.drakxtools +++ b/perl-install/Makefile.drakxtools @@ -26,7 +26,7 @@ $(DIRS): [ ! -e $@/Makefile ] || $(MAKE) -C $@ install: - mkdir -p $(BINDEST) $(ETCDEST) $(SBINDEST) $(DATADIR)/pixmaps $(LIBDEST)/{network,security,harddrake} $(BINX11DEST) $(LIBX11DEST) $(PIXDIR) $(INITDIR) + mkdir -p $(BINDEST) $(ETCDEST) $(SBINDEST) $(DATADIR)/{harddrake,pixmaps} $(LIBDEST)/{network,security,harddrake} $(BINX11DEST) $(LIBX11DEST) $(PIXDIR) $(INITDIR) install -d $(INLIBDEST_DIRS:%=$(LIBDEST)/%) install $(STANDALONEPMS) $(SBINDEST) install -s rpcinfo-flushed ddcprobe/ddcxinfos serial_probe/serial_probe $(SBINDEST) @@ -50,7 +50,7 @@ install: install -d $(LIBDEST)/diskdrake install -m 644 diskdrake/*.pm $(LIBDEST)/diskdrake - find $(LIBDEST) -name "*.pm" | xargs perl -pi -e '$$_ = "\n" if /\s*use\s+(diagnostics|vars|strict)/' + find $(LIBDEST) -name "*.pm" | xargs perl -pi -e 's/\s*use\s+(diagnostics|vars|strict)//g' for i in $(HAVEINST_DIRS); do \ $(MAKE) -C $$i install PREFIX=$(PREFIX) DATADIR=$(DATADIR) NAME=$(NAME) ; \ @@ -59,4 +59,5 @@ install: find auto -follow -name .exists -o -name "*.bs" | xargs rm -f cp -rfL auto standalone/icons $(LIBDEST) mv $(LIBDEST)/icons/harddrake2/ $(DATADIR)/pixmaps/ - mv $(SBINDEST)/service_harddrake $(INITDIR)/harddrake + mv $(SBINDEST)/service_harddrake.sh $(INITDIR)/harddrake + mv $(SBINDEST)/service_harddrake $(DATADIR)/harddrake/ -- cgit v1.2.1