1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-24 16:10:05 -07:00

kiss: use continue

This commit is contained in:
Dylan Araps 2020-09-14 22:31:22 +03:00
parent 73caec34b4
commit 8261c230fc
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

4
kiss
View File

@ -671,7 +671,7 @@ pkg_checksums() {
while read -r src _ || [ "$src" ]; do while read -r src _ || [ "$src" ]; do
# Skip comments, blank lines and git sources. # Skip comments, blank lines and git sources.
if [ -z "${src##\#*}" ] || [ -z "${src##git+*}" ]; then if [ -z "${src##\#*}" ] || [ -z "${src##git+*}" ]; then
: continue
# Remote source. # Remote source.
elif [ -z "${src##*://*}" ]; then elif [ -z "${src##*://*}" ]; then
@ -679,7 +679,7 @@ pkg_checksums() {
# Skip directories. # Skip directories.
elif [ -d "$repo_dir/$src" ] || [ -d "/$src" ]; then elif [ -d "$repo_dir/$src" ] || [ -d "/$src" ]; then
: continue
# Local file (relative). # Local file (relative).
elif [ -f "$repo_dir/$src" ]; then elif [ -f "$repo_dir/$src" ]; then