misc: cleanup

This commit is contained in:
Dylan Araps 2019-08-19 17:06:31 +00:00
parent 2867bbc10e
commit 80cf1b4322
1 changed files with 1 additions and 3 deletions

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."