forked from kiss-community/kiss
kiss: fixdeps(), remove depends file if empty
This commit is contained in:
parent
bb9293c629
commit
4e7184e20c
2
kiss
2
kiss
@ -437,6 +437,8 @@ pkg_fixdeps() {
|
|||||||
# Display a 'diff' of the new dependencies against
|
# Display a 'diff' of the new dependencies against
|
||||||
# the old ones. '-N' treats non-existent files as blank.
|
# the old ones. '-N' treats non-existent files as blank.
|
||||||
diff "$dep_file" depends ||:
|
diff "$dep_file" depends ||:
|
||||||
|
|
||||||
|
[ -s depends ] || rm -f depends
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_manifest() (
|
pkg_manifest() (
|
||||||
|
Loading…
Reference in New Issue
Block a user