Commit dd033763 authored by Natanael Copa's avatar Natanael Copa

abuild: warn if chown, chmod or chgrp found in install scripts

parent 2f5545cd
......@@ -157,6 +157,12 @@ default_sanitycheck() {
die "$i: install script does not match pkgname or any subpackage"
[ -e "$startdir/$i" ] || die "install script $i is missing"
for j in chown chmod chgrp; do
if grep -q $j "$startdir"/$i; then
warning "$i: found $j"
warning2 "Permissions should be fixed in APKBUILD package()"
for i in $triggers; do
Markdown is supported
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