kiss: fixdeps(), remove depends file if empty

This commit is contained in:
Dylan Araps 2020-04-16 08:31:26 +03:00
parent bb9293c629
commit 4e7184e20c
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 2 additions and 0 deletions

2
kiss
View File

@ -437,6 +437,8 @@ pkg_fixdeps() {
# Display a 'diff' of the new dependencies against
# the old ones. '-N' treats non-existent files as blank.
diff "$dep_file" depends ||:
[ -s depends ] || rm -f depends
}
pkg_manifest() (