Commit 45529e54 authored by Sören Tempel's avatar Sören Tempel
Browse files ensure that $triggers is not in $source

Since we already check that $install is not in $source is does make
sense to also check that $triggers is not in $source.
parent 051d2ced
......@@ -180,6 +180,11 @@ default_sanitycheck() {
die "$p: trigger script does not match pkgname or any subpackage"
if source_has "$f"; then
warning "You should not have \$triggers in source"
[ -e "$startdir"/$f ] || die "trigger script $f is missing"
if [ -n "$source" ]; then
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment