diff options
author | Florent Villard <warly@mandriva.com> | 2005-04-11 08:57:11 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2005-04-11 08:57:11 +0000 |
commit | 97b10f4c6f0a73af03441aa5a8434a6a58245e69 (patch) | |
tree | daf1add3e7bad16dd811b9d18048a3512654fa47 /indexhtml.spec | |
parent | 78b17fab863db45bb130e15dd6d81e5d568b627a (diff) | |
download | indexhtml-97b10f4c6f0a73af03441aa5a8434a6a58245e69.tar indexhtml-97b10f4c6f0a73af03441aa5a8434a6a58245e69.tar.gz indexhtml-97b10f4c6f0a73af03441aa5a8434a6a58245e69.tar.bz2 indexhtml-97b10f4c6f0a73af03441aa5a8434a6a58245e69.tar.xz indexhtml-97b10f4c6f0a73af03441aa5a8434a6a58245e69.zip |
revert to the previous ifup download method
Diffstat (limited to 'indexhtml.spec')
-rw-r--r-- | indexhtml.spec | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/indexhtml.spec b/indexhtml.spec index 5c8de3f..e0566a2 100644 --- a/indexhtml.spec +++ b/indexhtml.spec @@ -1,7 +1,7 @@ Summary: Mandrakelinux html welcome page Name: indexhtml Version: 10.2 -Release: 3mdk +Release: 4mdk URL: http://www.mandrakelinux.com/ Requires: wget Source: indexhtml-%version.tar.bz2 @@ -32,7 +32,7 @@ find $RPM_BUILD_DIR/%name -name "CVS" -print | xargs /bin/rm -fr install -d -m 0755 %buildroot/%_datadir/mdk/indexhtml/ install -m 0644 HTML/* %buildroot/%_datadir/mdk/indexhtml/ -#install -m 0755 update-indexhtml %buildroot/%_datadir/mdk/indexhtml/ +install -m 0755 update-indexhtml %buildroot/%_datadir/mdk/indexhtml/ install -d -m 0755 %buildroot/%_datadir/mdk/mail/text/ install -d -m 0755 %buildroot/%_datadir/mdk/mail/html/ @@ -58,6 +58,9 @@ done install -d -m 0755 %buildroot/%_datadir/doc/HTML/ install -m 0644 HTML/index-en.html %buildroot/%_datadir/doc/HTML/index.html +install -d -m 0755 %buildroot/etc/sysconfig/network-scripts/ifup.d +cd %buildroot/etc/sysconfig/network-scripts/ifup.d +ln -s ../../../../%_datadir/mdk/indexhtml/update-indexhtml indexhtml %clean rm -fr %buildroot @@ -85,15 +88,19 @@ do fi fi done +%_datadir/mdk/indexhtml/update-indexhtml nonetwork %files %defattr(-,root,root,-) %_datadir/mdk/ %ghost %_datadir/doc/HTML/index.html -#/etc/sysconfig/network-scripts/ifup.d/indexhtml +/etc/sysconfig/network-scripts/ifup.d/indexhtml %changelog +* Mon Apr 11 2005 Warly <warly@mandrakesoft.com> 10.2-4mdk +- revert to previous update-indexhtml method + * Thu Mar 31 2005 Pablo Saratxaga <pablo@mandrakesoft.com> 10.2-3mdk - removed update-indexhtml from the rpm, now the network testing is done in testonline.html (loaded trough javascript) |