spk rev 59
small fix to spk and prepa for spk-mirror
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 17 20:05:16 2012 +0200 (2012-05-17) |
parents | b88d5cb23536 |
children | 17ac07667767 |
files | lib/libspk.sh spk |
line diff
1.1 --- a/lib/libspk.sh Thu May 17 15:49:44 2012 +0200 1.2 +++ b/lib/libspk.sh Thu May 17 20:05:16 2012 +0200 1.3 @@ -12,12 +12,14 @@ 1.4 1.5 # Internal variables. 1.6 mirrorurl="${root}${PKGS_DB}/mirror" 1.7 +mirrors="${root}${PKGS_DB}/mirrors" 1.8 installed="${root}${PKGS_DB}/installed" 1.9 pkgsdesc="${root}${PKGS_DB}/packages.desc" 1.10 pkgsmd5="${root}${PKGS_DB}/packages.$SUM" 1.11 blocked="${root}${PKGS_DB}/blocked.list" 1.12 activity="${root}${PKGS_DB}/activity" 1.13 logdir="${root}/var/log/spk" 1.14 +extradb="${root}${PKGS_DB}/extra" 1.15 1.16 # 1.17 # Sanity checks
2.1 --- a/spk Thu May 17 15:49:44 2012 +0200 2.2 +++ b/spk Thu May 17 20:05:16 2012 +0200 2.3 @@ -50,7 +50,7 @@ 2.4 info) 2.5 cache="$(du -sh $CACHE_DIR | awk '{print $1 " " $2}')" 2.6 newline 2.7 - boldify "Spk Info" 2.8 + boldify "Spk info" 2.9 separator 2.10 gettext "Database :"; echo " $installed" 2.11 gettext "Cache info :"; echo " $cache" 2.12 @@ -74,7 +74,7 @@ 2.13 # Handle packages: spk package1 ... packageN 2.14 # 2.15 2.16 -debug "cmdline: $0 $@" 2.17 +debug "cmdline: $@" 2.18 count=0 2.19 2.20 for pkg in $@