On Fri, 2015-08-14 at 10:06 -0400, Dave Reisner wrote:
On Thu, Aug 13, 2015 at 10:56:41PM +0200, seblu@archlinux.org wrote:
From: Sébastien Luttringer <seblu@seblu.net>
+ + for dst in "${dsts[@]}"; do + rm "$copydir$dst" + done
rm "${dsts[@]}" The path is missing; I don't see something better than
( cd "$copydir" && rm -f "${pkg_filenames[@]}" )
}
prepare_chroot() { @@ -384,6 +387,9 @@ $update_first && arch-nspawn "$copydir" \
[[ -n ${install_pkgs[*]} ]] && install_packages
+# If there is no PKGBUILD we are done +[[ -f PKGBUILD ]] || exit 0 +
Seems like an unrelated change... And, shouldn't lack of a PKGBUILD be a failure?
This is useful to synchronise the root file on a daily basis (without building a package). I will move that in a different commit. -- Sébastien "Seblu" Luttringer https://seblu.net | Twitter: @seblu42 GPG: 0x2072D77A