summaryrefslogtreecommitdiff
path: root/src/chroot-tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/chroot-tools')
-rwxr-xr-xsrc/chroot-tools/librechroot3
-rwxr-xr-xsrc/chroot-tools/libremakepkg3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot
index 0fd621b..80c7f4f 100755
--- a/src/chroot-tools/librechroot
+++ b/src/chroot-tools/librechroot
@@ -21,7 +21,8 @@
# along with Parabola. If not, see <http://www.gnu.org/licenses/>.
. $(librelib conf.sh)
-load_conf_libretools_chroot
+load_files chroot
+[[ -f /.arch-chroot ]] || check_vars chroot CHROOTDIR CHROOT
. libremessages
. $(librelib makechrootpkg)
diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg
index f1b3916..b86506a 100755
--- a/src/chroot-tools/libremakepkg
+++ b/src/chroot-tools/libremakepkg
@@ -21,7 +21,8 @@
# along with Parabola. If not, see <http://www.gnu.org/licenses/>.
. $(librelib conf.sh)
-load_conf_libretools_chroot
+load_files chroot
+[[ -f /.arch-chroot ]] || check_vars chroot CHROOTDIR CHROOT
. libremessages
makechrootpkg=$(librelib makechrootpkg)