tazinst rev 8
Add installer menu
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 22 21:56:18 2013 +0100 (2013-03-22) |
parents | 256a06ea3d55 |
children | ee47159f98fb |
files | Makefile installer.menu |
line diff
1.1 --- a/Makefile Sun Feb 17 12:56:52 2013 +0100 1.2 +++ b/Makefile Fri Mar 22 21:56:18 2013 +0100 1.3 @@ -76,9 +76,11 @@ 1.4 mkdir -p $(DESTDIR)$(PREFIX)/sbin 1.5 install -m 0755 slitaz-installer $(DESTDIR)$(PREFIX)/sbin 1.6 @echo "Installing installer.cgi into $(DESTDIR)$(TAZPANEL)..." 1.7 - mkdir -p $(DESTDIR)$(TAZPANEL) 1.8 + mkdir -p $(DESTDIR)$(TAZPANEL)/menu.d 1.9 install -m 0755 installer.cgi $(DESTDIR)$(TAZPANEL) 1.10 - @echo "Installing config file into $(DESTDIR)/etc/slitaz.." 1.11 + @echo "Installing installer.menu into $(DESTDIR)$(TAZPANEL)/menu.d..." 1.12 + install -m 0755 installer.menu $(DESTDIR)$(TAZPANEL)/menu.d 1.13 + @echo "Installing config file into $(DESTDIR)/etc/slitaz..." 1.14 mkdir -p $(DESTDIR)/etc/slitaz 1.15 install -m 0755 etc/tazinst.conf $(DESTDIR)/etc/slitaz 1.16 1.17 @@ -100,6 +102,7 @@ 1.18 rm -f $(DESTDIR)$(PREFIX)/sbin/tazinst 1.19 rm -f $(DESTDIR)$(PREFIX)/sbin/slitaz_installer 1.20 rm -f $(DESTDIR)$(TAZPANEL)/installer.cgi 1.21 + rm -f $(DESTDIR)$(TAZPANEL)/menu.d/installer.menu 1.22 rm -rf $(DESTDIR)$(DOCDIR)/tazinst 1.23 rm -rf $(DESTDIR)$(PREFIX)/share/locale/*/LC_MESSAGES/tazinst*.mo 1.24 rm -rf $(DESTDIR)$(PREFIX)/share/locale/*/LC_MESSAGES/slitaz-installer*.mo
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/installer.menu Fri Mar 22 21:56:18 2013 +0100 2.3 @@ -0,0 +1,8 @@ 2.4 +cat << EOT 2.5 +<li><a href="/installer.cgi">$(gettext 'Install')</a> 2.6 + <ul> 2.7 + <li><a href="/installer.cgi?page=menu_install">$(gettext 'Install SliTaz')</a></li> 2.8 + <li><a href="/installer.cgi?page=menu_upgrade">$(gettext 'Upgrade system')</a></li> 2.9 + </ul> 2.10 +</li> 2.11 +EOT