tazpkg diff modules/convert @ 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 e4257a4c2eb3
children 9d683c983e2e
line diff
     1.1 --- a/modules/convert	Mon Dec 21 01:45:15 2015 +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