# HG changeset patch # User Christophe Lincoln # Date 1302062271 -7200 # Node ID 086e699c76660a7d74e8e3a7fc52ba291aed2870 # Parent 251c2c53c38d6b9f42145fe3ff5e9b2b7c902fb2 Small fixes and typo in READMR do Makefile diff -r 251c2c53c38d -r 086e699c7666 Makefile --- a/Makefile Tue Apr 05 14:14:03 2011 +0200 +++ b/Makefile Wed Apr 06 05:57:51 2011 +0200 @@ -45,8 +45,8 @@ $(DESTDIR)$(PREFIX)/share/locale \ $(DESTDIR)$(SYSCONFDIR) \ $(DESTDIR)$(PANEL) - cp -f tazpanel $(DESTDIR)$(PREFIX)/bin - cp -f *.conf data/httpd.conf $(DESTDIR)$(SYSCONFDIR) + cp -a tazpanel $(DESTDIR)$(PREFIX)/bin + cp -a *.conf data/httpd.conf $(DESTDIR)$(SYSCONFDIR) cp -a *.cgi lib/ styles/ $(DESTDIR)$(PANEL) cp -a po/mo/* $(DESTDIR)$(PREFIX)/share/locale diff -r 251c2c53c38d -r 086e699c7666 README --- a/README Tue Apr 05 14:14:03 2011 +0200 +++ b/README Wed Apr 06 05:57:51 2011 +0200 @@ -55,7 +55,7 @@ Start the webserver with custom config to listen only on local port for security reason since we run as root to perform system actions, example: -# httpd -p 8090 u root -c /etc/slitaz/tazpanel-httpd.conf +# httpd -p 8090 u root -c /etc/slitaz/httpd.conf Or use tazpanel cmdline: diff -r 251c2c53c38d -r 086e699c7666 doc/tazpanel.en.html --- a/doc/tazpanel.en.html Tue Apr 05 14:14:03 2011 +0200 +++ b/doc/tazpanel.en.html Wed Apr 06 05:57:51 2011 +0200 @@ -2,9 +2,9 @@

English Help

- TazPanel is the SliTaz administration and settings center from you - can manage your entire system such as managing packages, adding or - removing users, create Live systems and much more. Navigation + TazPanel is the SliTaz administration and settings center from where + you can manage your entire system such as managing packages, adding + or removing users, create Live systems and much more. Navigation is done with the toolbar at the top of the application window and is some case, with a submenu.

diff -r 251c2c53c38d -r 086e699c7666 pkgs.cgi --- a/pkgs.cgi Tue Apr 05 14:14:03 2011 +0200 +++ b/pkgs.cgi Wed Apr 06 05:57:51 2011 +0200 @@ -3,7 +3,7 @@ # TazPKG CGI interface - Manage packages via the a browse # # This CGI interface intensively use tazpkg to manage package and have -# it how code for some tasks. Please KISS it important and keep speed +# it own code for some tasks. Please KISS it important and keep speed # in mind. Thanks, Pankso. # # (C) 2011 SliTaz GNU/Linux - GNU gpl v2 @@ -60,12 +60,20 @@ # Display a full summary of packages stats packages_summary() { + gettext "Last recharge : " + stat=`stat -c %y $LOCALSTATE/packages.list | \ + sed 's/\(:..\):.*/\1/' | awk '{print $1}'` + mtime=`find /var/lib/tazpkg/packages.list -mtime +10` + echo -n "$stat " + if [ "$mtime" ]; then + echo "(Older than 10 days)" + else + echo "(Not older than 10 days)" + fi gettext "Installed packages : " ls $INSTALLED | wc -l gettext "Mirrored packages : " cat $LOCALSTATE/packages.list | wc -l - gettext "Last recharge : " - stat -c %y $LOCALSTATE/packages.list | sed 's/\(:..\):.*/\1/' gettext "Upgradeable packages : " cat $LOCALSTATE/upgradeable-packages.list | wc -l gettext "Installed files : "