mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-26 09:58:14 +01:00
sqg: Check existence for queue file(s).
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
This commit is contained in:
parent
ba15355444
commit
bf0a82be8d
1 changed files with 3 additions and 1 deletions
|
@ -198,7 +198,9 @@ build_queuefile_custom () {
|
|||
rm -f "$QUEUEDIR/$QUEUENAME.sqf"
|
||||
|
||||
for PKG in ${PACKAGES[@]}; do
|
||||
cat "$PKG.sqf" >> "$QUEUENAME.sqf"
|
||||
if [ -f "$PKG.sqf" ]; then
|
||||
cat "$PKG.sqf" >> "$QUEUENAME.sqf"
|
||||
fi
|
||||
done
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue