From 46e6bfed3e0669e89356c13e719e8867b4a53a4c Mon Sep 17 00:00:00 2001 From: udeved Date: Fri, 5 Jun 2015 07:53:57 +0200 Subject: [PATCH] [util] wip- add a check for valid buildet before chroot is started --- lib/util-pkg.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/util-pkg.sh b/lib/util-pkg.sh index d21e2a7..998048f 100644 --- a/lib/util-pkg.sh +++ b/lib/util-pkg.sh @@ -17,6 +17,10 @@ check_chroot_version(){ fi } +check_dir(){ +#check for pkgbuilds +} + chroot_create(){ msg "Creating chroot for [${branch}] (${arch})..." mkdir -p "${work_dir}"