cookutils diff data/cooktest/receipt @ rev 976
modules/pkgdb: ownership isn't transferred, set permissions; lighttpd/index.cgi: color shell documentation files (see compton).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Oct 06 01:08:09 2017 +0300 (2017-10-06) |
parents | 02bf2a847c08 |
children |
line diff
1.1 --- a/data/cooktest/receipt Wed May 04 04:30:28 2011 +0200 1.2 +++ b/data/cooktest/receipt Fri Oct 06 01:08:09 2017 +0300 1.3 @@ -16,31 +16,32 @@ 1.4 echo -e "\n./configure && make && make install" 1.5 echo "-----------------------------------" 1.6 echo -e " * Log file : $LOGS/$PACKAGE.log" 1.7 - 1.8 + 1.9 # Test if a package is installed. 1.10 - [ -d "$INSTALLED/make" ] && echo " * Package : make is installed" 1.11 + [ -d "$INSTALLED/make" ] && echo " * Package : make is installed" 1.12 [ ! -d "$INSTALLED/make" ] && echo " * Package : make not installed" 1.13 - 1.14 - echo "" 1.15 + 1.16 + echo 1.17 } 1.18 1.19 # Rules to gen a SliTaz package suitable for Tazpkg. 1.20 genpkg_rules() 1.21 { 1.22 mkdir -p $fs/tmp 1.23 - cat << EOT 1.24 + cat <<EOT 1.25 cp -a \$install/usr/bin \$fs/usr 1.26 ------------------------------ 1.27 - * \$fs : $fs" 1.28 - * \$stuff : $stuff" 1.29 - * \$install : $install" 1.30 - * \$src : $src" 1.31 + * \$fs : $fs 1.32 + * \$stuff : $stuff 1.33 + * \$install : $install 1.34 + * \$src : $src 1.35 1.36 EOT 1.37 # A file to have something to package. Cook fails if package is empty. 1.38 echo "NOTE: Create, copy files from \$install or \$stuff" 1.39 echo -n "cook-test:" > $fs/tmp/cook-test 1.40 date >> $fs/tmp/cook-test 1.41 - echo "" 1.42 + echo 1.43 echo -n "End of receipt: press ENTER to continue"; read i 1.44 + echo 1.45 }