From 18df03007b63e603bd46eaacd8404c2e34fe4ca9 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 9 Sep 2002 08:43:55 +0000 Subject: - harddrake: o don't pollute sbin namespace with one shot scripts o add run wrapper script for harddrake service o disable ?dm part o timeout configurator offer to 5 seconds --- perl-install/drakxtools.spec | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) (limited to 'perl-install/drakxtools.spec') diff --git a/perl-install/drakxtools.spec b/perl-install/drakxtools.spec index eb775d4da..925c1426b 100644 --- a/perl-install/drakxtools.spec +++ b/perl-install/drakxtools.spec @@ -1,7 +1,7 @@ Summary: The drakxtools (XFdrake, diskdrake, keyboarddrake, mousedrake...) Name: drakxtools Version: 1.1.9 -Release: 42mdk +Release: 43mdk Url: http://www.linux-mandrake.com/en/drakx.php3 Source0: %name-%version.tar.bz2 License: GPL @@ -184,7 +184,7 @@ cat > $RPM_BUILD_ROOT%_menudir/harddrake-ui < $RPM_BUILD_ROOT%_sbindir/convert-harddrake < $RPM_BUILD_ROOT%_datadir/harddrake/convert < $RPM_BUILD_ROOT%_sysconfdir/X11/xinit.d/harddrake2 < $RPM_BUILD_ROOT%_datadir/harddrake/confirm <vnew; +my $res = \$in->ask_okcancel(\$ARGV[0], \$ARGV[1], 1); +$in->exit($res); +EOF + +chmod +x $RPM_BUILD_ROOT{%_datadir/harddrake/*,%_sysconfdir/X11/xinit.d/harddrake2} %find_lang libDrakX cat libDrakX.lang >> %name.list @@ -236,7 +247,7 @@ done %_preun_service harddrake %postun -n harddrake -file /etc/sysconfig/harddrake2/previous_hw | fgrep -q perl && %_sbindir/convert-harddrake || : +file /etc/sysconfig/harddrake2/previous_hw | fgrep -q perl && %_datadir/harddrake/convert || : %files newt -f %name.list %defattr(-,root,root) @@ -255,9 +266,8 @@ file /etc/sysconfig/harddrake2/previous_hw | fgrep -q perl && %_sbindir/convert- %config(noreplace) %_initrddir/harddrake %dir /etc/sysconfig/harddrake2/ %config(noreplace) /etc/sysconfig/harddrake2/previous_hw -%_datadir/harddrake/service_harddrake -%_sbindir/convert-harddrake -%_sysconfdir/X11/xinit.d/harddrake2 +%_datadir/harddrake/* +#%_sysconfdir/X11/xinit.d/harddrake2 %files -n harddrake-ui %defattr(-,root,root) @@ -279,6 +289,12 @@ file /etc/sysconfig/harddrake2/previous_hw | fgrep -q perl && %_sbindir/convert- %config(noreplace) %_sysconfdir/logrotate.d/drakxtools-http %changelog +* Sun Sep 8 2002 Thierry Vignaud 1.1.9-43mdk +- harddrake: + o don't pollute sbin namespace with one shot scripts + o add run wrapper script for harddrake service + o disable ?dm part + * Sat Sep 7 2002 Daouda LO 1.1.9-42mdk - cvs up before packaging (fix messy drakboot conf). -- cgit v1.2.1