tazpkg diff tazpkgbox @ rev 141

Show date of modified configuration files only
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 28 19:26:09 2008 +0000 (2008-07-28)
parents a954c610e384
children 76d09109221b
line diff
     1.1 --- a/tazpkgbox	Mon Jul 28 09:39:57 2008 +0000
     1.2 +++ b/tazpkgbox	Mon Jul 28 19:26:09 2008 +0000
     1.3 @@ -19,20 +19,6 @@
     1.4  	tazpkg >/dev/null
     1.5  fi
     1.6  
     1.7 -if [ "$1" == "call" ]; then
     1.8 -	case "$2" in
     1.9 -	list_config_files)
    1.10 -		tazpkg list-config | awk '
    1.11 -BEGIN { ls=0 } {
    1.12 -  if (/^===/) ls=1-ls;
    1.13 -  else if (ls) system("stat -c \"%A|%U|%G|%s|%.16y|%n\" " $0);
    1.14 -}'
    1.15 -		exit 0;;
    1.16 -	*) echo "Invalid argument";;
    1.17 -	esac
    1.18 -	exit 1
    1.19 -fi
    1.20 -
    1.21  # Tmp dir and files used to get pkgs infos on the fly. Clean also
    1.22  # list and search files to load less data and have a faster start.
    1.23  mkdir -p /tmp/tazpkgbox
    1.24 @@ -91,10 +77,13 @@
    1.25    <vbox>
    1.26  	<tree>
    1.27  		<width>630</width><height>160</height>
    1.28 -		<label>Access | User | Group | Size | Date | Name</label>
    1.29 -		<input> $0 call list_config_files </input>
    1.30 +		<label>Access | User | Group | Size | Update Date | Name</label>
    1.31 +		<input>tazpkg list-config --box</input>
    1.32  	</tree>
    1.33  	<hbox>
    1.34 +		<text wrap=\"false\">
    1.35 +			<label>\"Only files with Update Date have been modified after package installation\"</label>
    1.36 +		</text>
    1.37  		<button>
    1.38  			<input file icon=\"gtk-close\"></input>
    1.39  			<action type=\"closewindow\">INSTALLED_PACKAGE_ACTIONS</action>