From 6c3dc9ef3ccf94d622aea415ecc9caf0a47fc7b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20Nizio?= Date: Wed, 26 Dec 2012 21:21:49 +0100 Subject: [PATCH] [scripts] fix location of 00-sabayon.package.use previously the file path was: /etc/portage/package.use/00-sabayon.package.use/00-sabayon.package.use --- scripts/inner_source_chroot_update.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/inner_source_chroot_update.sh b/scripts/inner_source_chroot_update.sh index 980cbe2..b763bbc 100755 --- a/scripts/inner_source_chroot_update.sh +++ b/scripts/inner_source_chroot_update.sh @@ -95,9 +95,7 @@ for conf in 00-sabayon.package.use; do if [ -f "${target_dir}" ]; then # remove old file rm "${target_dir}" # ignore failure fi - if [ ! -d "${target_path}" ]; then - mkdir -p "${target_path}" # ignore failure - fi + mkdir -p "${target_dir}" # ignore failure cp "${repo_conf}" "${target_path}" # ignore fi