Skip to content

Commit

Permalink
molior-deploy: fix comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
neolynx committed May 15, 2024
1 parent 59f9c17 commit 7dcb3a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion molior-deploy
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,8 @@ apply_deploy_conf()
do
SOURCES_VERSION=`basename $baseurl`
curl -n -f -s --retry 10 -o $WORK_DIR/Sources.func $baseurl/dists/$dist/main/source/Sources
if [ `wc -l $WORK_DIR/Sources 2>/dev/null | cut -d' ' -f1` -eq 0 ]; then
lines=`wc -l $WORK_DIR/Sources 2>/dev/null | cut -d' ' -f1`
if [ -n "$lines" ] && [ "$lines" -eq 0 ]; then
# try next baseurl
continue
fi
Expand Down

0 comments on commit 7dcb3a9

Please sign in to comment.