forked from kiss-community/kiss
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.
|
# Check that each mandatory file in the package entry exists.
|
||||||
log "[$1]: Checking repository files..."
|
log "[$1]: Checking repository files..."
|
||||||
|
|
||||||
# Figure out *where* the repository entry for the package
|
# Figure out *where* the repository entry for the package is located.
|
||||||
# is located.
|
|
||||||
repo_dir=$(pkg_search "$1")
|
repo_dir=$(pkg_search "$1")
|
||||||
|
|
||||||
cd "$repo_dir" || die "'$repo_dir' not accessible"
|
cd "$repo_dir" || die "'$repo_dir' not accessible"
|
||||||
|
|
||||||
[ -f sources ] || die "[$1]: Sources file not found."
|
[ -f sources ] || die "[$1]: Sources file not found."
|
||||||
[ -x build ] || die "[$1]: Build file not found or not executable."
|
[ -x build ] || die "[$1]: Build file not found or not executable."
|
||||||
[ -s version ] || die "[$1]: Version file not found or empty."
|
[ -s version ] || die "[$1]: Version file not found or empty."
|
||||||
|
Loading…
Reference in New Issue
Block a user