[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
This commit is contained in:
Sławomir Nizio
2012-12-26 21:21:49 +01:00
parent 5e2a4ba97b
commit 6c3dc9ef3c
+1 -3
View File
@@ -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