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

misc: cleanup

This commit is contained in:
Dylan Araps 2019-08-19 17:06:31 +00:00
parent 2867bbc10e
commit 80cf1b4322

4
kiss
View File

@ -42,12 +42,10 @@ pkg_lint() {
# Check that each mandatory file in the package entry exists.
log "[$1]: Checking repository files..."
# Figure out *where* the repository entry for the package
# is located.
# Figure out *where* the repository entry for the package is located.
repo_dir=$(pkg_search "$1")
cd "$repo_dir" || die "'$repo_dir' not accessible"
[ -f sources ] || die "[$1]: Sources file not found."
[ -x build ] || die "[$1]: Build file not found or not executable."
[ -s version ] || die "[$1]: Version file not found or empty."