summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-portage/sisyphus/sisyphus-4.2107.0-r1.ebuild (renamed from app-portage/sisyphus/sisyphus-4.2107.0.ebuild)8
1 files changed, 6 insertions, 2 deletions
diff --git a/app-portage/sisyphus/sisyphus-4.2107.0.ebuild b/app-portage/sisyphus/sisyphus-4.2107.0-r1.ebuild
index 2026ad87..08d06e4b 100644
--- a/app-portage/sisyphus/sisyphus-4.2107.0.ebuild
+++ b/app-portage/sisyphus/sisyphus-4.2107.0-r1.ebuild
@@ -66,10 +66,14 @@ pkg_postinst() {
# Take care of the etc-update for the user
rm -rf "${EROOT}"etc/"${PN}"/._cfg*
- # Maintain backward compat with old mirrors file
+ # Make sure portage sees the new mirror configuration file
rm -rf "{EROOT}"etc/"${PN}"/mirrors.conf
- if ARCH='amd64'; then
+ if ARCH="amd64"; then
ln -sf "${EROOT}"etc/"${PN}"/"${PN}"-mirrors-amd64.conf "${EROOT}"etc/"${PN}"/mirrors.conf
fi
+
+ if ARCH="arm64"; then
+ ln -sf "${EROOT}"etc/"${PN}"/"${PN}"-mirrors-arm64.conf "${EROOT}"etc/"${PN}"/mirrors.conf
+ fi
}