1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-25 00:20:05 -07:00

kiss: drop braces

This commit is contained in:
Dylan Araps 2020-09-14 15:30:50 +03:00
parent e95fbda45c
commit 92dbdbe06a
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

3
kiss
View File

@ -359,7 +359,7 @@ pkg_depends() {
pkg_find "$1" pkg_find "$1"
# Recurse through the dependencies of the child packages. # Recurse through the dependencies of the child packages.
[ -f "$repo_dir/depends" ] && { [ -f "$repo_dir/depends" ] &&
while read -r dep _ || [ "$dep" ]; do while read -r dep _ || [ "$dep" ]; do
case $dep in case $dep in
[!\#]*) [!\#]*)
@ -368,7 +368,6 @@ pkg_depends() {
;; ;;
esac esac
done < "$repo_dir/depends" done < "$repo_dir/depends"
}
# After child dependencies are added to the list, # After child dependencies are added to the list,
# add the package which depends on them. # add the package which depends on them.