tazpkg rev 908

modules/convert: fix convert_tcz
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Tue May 24 14:51:19 2016 +0300 (2016-05-24)
parents 04c88406e575
children 142f8c69c482
files modules/convert
line diff
     1.1 --- a/modules/convert	Sat May 21 17:25:11 2016 +0200
     1.2 +++ b/modules/convert	Tue May 24 14:51:19 2016 +0300
     1.3 @@ -739,7 +739,7 @@
     1.4  
     1.5  convert_tcz() {
     1.6  	[ -n "$(which unsquashfs)" ] || tazpkg get-install squashfs
     1.7 -	if ! unsquashfs -l "$PACKAGE_FILE" | grep -q squashfs-root/$ ; then
     1.8 +	if ! unsquashfs -l "$PACKAGE_FILE" | grep -q squashfs-root/ ; then
     1.9  		_ 'File "%s" does not look like %s package!' "$PACKAGE_FILE" 'Tinycore'
    1.10  		return 1
    1.11  	fi