tazpkg diff modules/cache @ rev 855

cache: fix working; install: install official conf.files if destination is absent; tazpkg-notify: change icons
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 09 04:54:02 2015 +0200 (2015-11-09)
parents d6cbd0c5f273
children af67b2269d1f
line diff
     1.1 --- a/modules/cache	Mon Oct 05 03:53:47 2015 +0300
     1.2 +++ b/modules/cache	Mon Nov 09 04:54:02 2015 +0200
     1.3 @@ -15,7 +15,7 @@
     1.4  
     1.5  case $1 in
     1.6  	clean)
     1.7 -		num=$(find "$CACHE_DIR" -name *.tazpkg | wc -l)
     1.8 +		num=$(find "$CACHE_DIR" -name '*.tazpkg' | wc -l)
     1.9  		size=$(du -hs "$CACHE_DIR" | cut -f1 | sed 's|\.0||')
    1.10  		[ "$num" -eq 0 ] && size="0K"
    1.11  
    1.12 @@ -29,4 +29,4 @@
    1.13  			'%s files removed from cache (%s).' "$num" \
    1.14  			"$(colorize 32 "$num")" "$size")"
    1.15  		;;
    1.16 -esac
    1.17 \ No newline at end of file
    1.18 +esac