summaryrefslogtreecommitdiffstats
path: root/indexhtml.spec
diff options
context:
space:
mode:
Diffstat (limited to 'indexhtml.spec')
-rw-r--r--indexhtml.spec13
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)