mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 00:20:05 -07:00
misc: cleanup
This commit is contained in:
parent
2867bbc10e
commit
80cf1b4322
4
kiss
4
kiss
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user