tazpkg diff modules/getenv @ rev 870

tazpkg-notify: also use notify-send for desktop notifications
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 23 04:52:58 2015 +0200 (2015-11-23)
parents b6daeaa95431
children 19fad7781af3
line diff
     1.1 --- a/modules/getenv	Tue Oct 20 10:24:52 2015 +0300
     1.2 +++ b/modules/getenv	Mon Nov 23 04:52:58 2015 +0200
     1.3 @@ -114,7 +114,7 @@
     1.4  missing_file "$info_path"
     1.5  if [ ! -s "$info_path" ]; then
     1.6  	# Empty installed.info
     1.7 -	if [ -n "$(ls "$INSTALLED")" ]; then
     1.8 +	if [ -n "$(find "$INSTALLED" -name 'receipt')" ]; then
     1.9  		# Some packages are installed
    1.10  		if [ "$(id -u)" -eq 0 ]; then
    1.11  			# Root can re-create installed.info