xbps-src: give more info for 'restricted' pkgs.

This commit is contained in:
Juan RP 2015-11-14 11:55:04 +01:00
parent 13da0aba7f
commit c759f096fa
1 changed files with 1 additions and 0 deletions

View File

@ -449,6 +449,7 @@ setup_pkg() {
if [ -n "$restricted" -a -z "$XBPS_ALLOW_RESTRICTED" ]; then
msg_red "$pkgver: does not allow redistribution of sources/binaries (restricted license).\n"
msg_red "If you really need this software, run 'echo XBPS_ALLOW_RESTRICTED=yes >> etc/conf'\n"
exit 2
fi