diff options
author | Juergen Daubert <jue@jue.li> | 2017-02-28 20:02:26 +0100 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2017-02-28 20:02:26 +0100 |
commit | cc3c4ec7798abff084647fbae650382a3c76e22b (patch) | |
tree | 38f9f4f329b71515e5114e580557c8b9346a8634 | |
parent | e7e9779f60880f8d90e312f51bdfaae22d79d1c6 (diff) | |
download | pkgutils-cc3c4ec7798abff084647fbae650382a3c76e22b.tar.gz pkgutils-cc3c4ec7798abff084647fbae650382a3c76e22b.tar.xz |
pkgmk: Remove check for empty $source in check_signature(), patch by just_fun
-rwxr-xr-x | pkgmk.in | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -294,11 +294,9 @@ check_signature() { if [ -f $PKGMK_ROOT/$PKGMK_SIGNATURE ]; then cd $SRC - if [ "$source" ]; then - for FILE in "$PKGMK_PKGFILE" "$PKGMK_FOOTPRINT" ${source[@]}; do - ln -s $(get_filename -a $FILE) . - done - fi + for FILE in "$PKGMK_PKGFILE" "$PKGMK_FOOTPRINT" ${source[@]}; do + ln -s $(get_filename -a $FILE) . + done if [ "$PKGMK_PUBLICKEY" ]; then err=$(signify -q -C -p "$PKGMK_PUBLICKEY" -x "$PKGMK_ROOT/$PKGMK_SIGNATURE" 2>&1) |