wok-6.x diff emacs/receipt @ rev 22947

updated imlib2 and imlib2-dev (1.5.1 -> 1.6.1)
author Hans-G?nter Theisgen
date Fri Feb 28 13:50:29 2020 +0100 (2020-02-28)
parents 188bb62d240d
children 71360a13cd94
line diff
     1.1 --- a/emacs/receipt	Mon Jan 20 17:26:23 2020 +0100
     1.2 +++ b/emacs/receipt	Fri Feb 28 13:50:29 2020 +0100
     1.3 @@ -85,8 +85,12 @@
     1.4  	  do
     1.5  		echo -n "Copying $dir files"
     1.6  		mkdir -p $fs/usr/share/$PACKAGE/$VERSION/$dir &&
     1.7 -		cp -a $install/usr/share/$PACKAGE/$VERSION/$dir/*.elc \
     1.8 -			$fs/usr/share/$PACKAGE/$VERSION/$dir
     1.9 +		if [ $(ls $install/usr/share/$PACKAGE/$VERSION/$dir/ | \
    1.10 +grep -c \.elc$) -gt 0 ]
    1.11 +		  then
    1.12 +			cp -a $install/usr/share/$PACKAGE/$VERSION/$dir/*.elc \
    1.13 +				$fs/usr/share/$PACKAGE/$VERSION/$dir
    1.14 +		fi
    1.15  		if [ $(ls $install/usr/share/$PACKAGE/$VERSION/$dir/ | \
    1.16  grep -c \.el$) -gt 0 ]
    1.17  		  then