forked from kiss-community/kiss
kiss: new
This commit is contained in:
parent
292816b697
commit
6a3b3119b8
4
kiss
4
kiss
@ -37,9 +37,9 @@ 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..."
|
||||||
|
|
||||||
pkg_location=$(pkg_search "$1")
|
repo_dir=$(pkg_search "$1")
|
||||||
|
|
||||||
cd "$pkg_location" || die "'$pkg_location' 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."
|
||||||
|
Loading…
Reference in New Issue
Block a user