cookutils rev 1097

Again
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 27 02:44:08 2018 +0200 (2018-11-27)
parents 93788f2e588b
children cd73759b1e1c
files lighttpd/index.cgi
line diff
     1.1 --- a/lighttpd/index.cgi	Tue Nov 27 02:34:46 2018 +0200
     1.2 +++ b/lighttpd/index.cgi	Tue Nov 27 02:44:08 2018 +0200
     1.3 @@ -1407,7 +1407,7 @@
     1.4  					} | while read pkg; do
     1.5  						unset VERSION; REPOLOGY=$pkg
     1.6  						. $wok/$pkg/receipt
     1.7 -						ver=$(awk -F$'\t' -vpkg="$pkg" '{if ($1 == pkg) {print $2; exit}}' $PKGS/packages.info)
     1.8 +						ver=$(awk -F$'\t' -vpkg="$pkg" '{if ($1 == pkg) {print $2; exit}}' $PKGS/packages-$ARCH.info)
     1.9  						if [ "$REPOLOGY" == '-' ]; then
    1.10  							unset repo_info1 repo_info2
    1.11  							echo '-' >>$tmp_status