From 6835c86edcdb587a94f481e8276e6c2f021dcee0 Mon Sep 17 00:00:00 2001 From: Adam Conrad Date: Thu, 30 Apr 2015 08:00:17 -0600 Subject: [PATCH] Conditionalize copying extra-ppas.pref.chroot around --- live-build/auto/config | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/live-build/auto/config b/live-build/auto/config index b1ead42d..ee8dea1e 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -713,10 +713,12 @@ if [ "$EXTRA_PPAS" ]; then rm -rf "$gpg_tmpdir" cp -a config/archives/extra-ppas.list.chroot \ config/archives/extra-ppas.list.binary - cp -a config/archives/extra-ppas.pref.chroot \ - config/archives/extra-ppas.pref.binary cp -a config/archives/extra-ppas.key.chroot \ config/archives/extra-ppas.key.binary + if [ -f config/archives/extra-ppas.pref.chroot ]; then + cp -a config/archives/extra-ppas.pref.chroot \ + config/archives/extra-ppas.pref.binary + fi fi case $SUBPROJECT in