summaryrefslogtreecommitdiff
path: root/app-portage
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-07-10 14:54:36 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-07-10 14:54:36 +0100
commit09c6158976e395d76e3cbd00379dc510564dccd4 (patch)
tree89f8e6b74e38acec34228f10bba0619d59ca09e4 /app-portage
parentbb08a709345843299cca036f9fc92b94ea58bdea (diff)
app-portage/sisyphus : revision bump
Diffstat (limited to 'app-portage')
-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
}