sqg: Check existence for queue file(s).

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-06-19 18:26:23 +07:00
parent ba15355444
commit bf0a82be8d
No known key found for this signature in database
GPG Key ID: 887B8374D7333381

View File

@ -198,7 +198,9 @@ build_queuefile_custom () {
rm -f "$QUEUEDIR/$QUEUENAME.sqf"
for PKG in ${PACKAGES[@]}; do
if [ -f "$PKG.sqf" ]; then
cat "$PKG.sqf" >> "$QUEUENAME.sqf"
fi
done
)
}