Skip to content

Commit

Permalink
Only run namcap if it is available (user devices not affected)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSignPainter98 committed Dec 31, 2020
1 parent a38e1eb commit bcc1480
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/pkggen
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,6 @@ depends=$( (cut -d= -f1 | sed 's/PyYAML/yaml/' | sed 's/^/python-/' | tr '\n' '
) < $1 > $2

# Lint the PKGBUILD
namcap $2
if command -v namcap >/dev/null 2>/dev/null; then
namcap $2
fi

0 comments on commit bcc1480

Please sign in to comment.