diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2010-10-19 14:57:17 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2010-10-19 14:57:17 -0500 |
commit | c00f7d2c2f5f45c06b3339ed26d47416ff31fadb (patch) | |
tree | acbb90d4bc7f5763a75acaae8957cef44f756d24 /libremakepkg | |
parent | 7a6f3b6f965198cea63d141b9fbaf7ef177b6a1e (diff) |
As it is run by root, removed custom config and pkgbuild-check-nonfree
Diffstat (limited to 'libremakepkg')
-rwxr-xr-x | libremakepkg | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/libremakepkg b/libremakepkg index 5ea64de..7197816 100755 --- a/libremakepkg +++ b/libremakepkg @@ -22,19 +22,12 @@ if [ $UID -ne 0 ]; then echo "This script must be run as root" exit 1 fi -custom_config=$XDG_CONFIG_HOME/libretools/libretools.conf -if [-e $custom_config]; then - source $custom_config -else - source /etc/libretools.conf -fi + +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} -- $@ |