mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 00:20:05 -07:00
kiss: use continue
This commit is contained in:
parent
73caec34b4
commit
8261c230fc
4
kiss
4
kiss
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user