summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-07-05 14:08:39 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-07-05 14:08:39 +0000
commit58070cd584372ddea1483028c9b98de7f4bc99de (patch)
tree669946bb4fad3f77657942d10de98ba6f4e110f9
parentad8e2a36a5ca71140b7d0e28a0f8b9aeefd24923 (diff)
downloaddrakx-58070cd584372ddea1483028c9b98de7f4bc99de.tar
drakx-58070cd584372ddea1483028c9b98de7f4bc99de.tar.gz
drakx-58070cd584372ddea1483028c9b98de7f4bc99de.tar.bz2
drakx-58070cd584372ddea1483028c9b98de7f4bc99de.tar.xz
drakx-58070cd584372ddea1483028c9b98de7f4bc99de.zip
fix dirs1/dirs2 mismatch
-rw-r--r--perl-install/drakxtools.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/drakxtools.spec b/perl-install/drakxtools.spec
index 2af69b348..24ab74846 100644
--- a/perl-install/drakxtools.spec
+++ b/perl-install/drakxtools.spec
@@ -110,8 +110,8 @@ cp pam.net_monitor $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/net_monitor
cp apps.net_monitor $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/net_monitor
dirs1="usr/lib/libDrakX usr/share/libDrakX"
-(cd $RPM_BUILD_ROOT ; find $dirs2 ! -type d -printf "/%%p\n") > %{name}.list
-(cd $RPM_BUILD_ROOT ; find $dirs1 usr/bin usr/sbin -type d -printf "%%%%dir /%%p\n") >> %{name}.list
+(cd $RPM_BUILD_ROOT ; find $dirs1 usr/bin usr/sbin ! -type d -printf "/%%p\n") > %{name}.list
+(cd $RPM_BUILD_ROOT ; find $dirs1 -type d -printf "%%%%dir /%%p\n") >> %{name}.list
perl -ni -e '/gtk|icons|pixmaps|XFdrake|bootlook|drakbackup|drakfont|logdrake|net_monitor/ ? print STDERR $_ : print' %{name}.list 2> %{name}-gtk.list
perl -ni -e '/http/ ? print STDERR $_ : print' %{name}.list 2> %{name}-http.list