diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-08-19 17:06:30 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-08-19 17:06:30 +0000 |
commit | 6bae6fb8868f8a2b7746d49b305ef26aa3cf2a5c (patch) | |
tree | 399f06202b9b6060b78fc35e5e0a72b05bf3eb0d | |
parent | c598870843d7391fe9d5f1a625422297cf8ee33f (diff) | |
download | cpt-6bae6fb8868f8a2b7746d49b305ef26aa3cf2a5c.tar.gz |
misc: cleanup
FossilOrigin-Name: eba694939379763fcd5383c079718889bd41522c28ebb660aa75049f90bfe79a
-rwxr-xr-x | kiss | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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." |