summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2010-10-19 14:21:57 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2010-10-19 14:21:57 -0500
commit0f19f735d943692d8ee4ec15081a558198acacb0 (patch)
tree4bfa05594ab0a4197986574d00a1ca16fb14d587
parent0a280623adf6c2e4d672441c66d9ac1fb0434cdf (diff)
Check for nonfree dependencies and fail in case of them
-rwxr-xr-xlibremakepkg3
1 files changed, 3 insertions, 0 deletions
diff --git a/libremakepkg b/libremakepkg
index cab6b9c..0881b10 100755
--- a/libremakepkg
+++ b/libremakepkg
@@ -32,6 +32,9 @@ source /etc/libretools.conf
echo "Updating the main chroot"
mkarchroot -u -c ${CACHEDIR} ${CHROOTDIR}/${CHROOT}
+echo "Checking dependencies"
+pkgbuild-check-nonfree
+
echo "Creating the package"
makechrootpkg -c -r ${CHROOTDIR} -l ${CHCOPY} -- $@