# HG changeset patch # User Dominique Corbex # Date 1312575738 -7200 # Node ID 97804a1ab52e61f08c1fa01b1c713ff5a4755eed # Parent 56ee2e6e63afde6483211e0b44d46c1e2b2b353f tazinst: Add command: tazinst log (print log contents) diff -r 56ee2e6e63af -r 97804a1ab52e installer/tazinst --- a/installer/tazinst Mon Aug 01 22:56:46 2011 +0200 +++ b/installer/tazinst Fri Aug 05 22:22:18 2011 +0200 @@ -19,7 +19,7 @@ # 6: SliTaz system to upgrade not found # 8: Internal error -VERSION=3.21 +VERSION=3.22 # Internationalization . /usr/bin/gettext.sh @@ -55,6 +55,7 @@ echo -e "config `gettext \"Generate a configuration file.\"`" echo -e "check `gettext \"Check validity of the configuration file.\"`" echo -e "showurl `gettext \"Show the full URL of a predefined URL (stable|cooking|rolling).\"`" + echo -e "log `gettext \"Display log file contents.\"`" echo -e "cli `gettext \"Install or upgrade using command line options:\"`" echo -e " -i `gettext \"Full Install (not upgrading, all present data will be lost).\"`" echo -e " -u `gettext \"Upgrade (Needs an active internet connection).\"`" @@ -1292,6 +1293,8 @@ init $@ read_configuration_file $2 check_vars ;; + log) + cat $LOG ;; version) echo $VERSION ;; usage|*)