diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-10 17:01:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-10 17:01:11 +0100 |
commit | a9253fe02ce49680a09a11e74b6503270c664b55 (patch) | |
tree | f9f60d4f73260ab9d7db03560bc1daf0a98a756b /app-portage | |
parent | 09c6158976e395d76e3cbd00379dc510564dccd4 (diff) |
app-portage/sisyphus : revision bump
Diffstat (limited to 'app-portage')
-rw-r--r-- | app-portage/sisyphus/sisyphus-4.2107.0-r2.ebuild (renamed from app-portage/sisyphus/sisyphus-4.2107.0-r1.ebuild) | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app-portage/sisyphus/sisyphus-4.2107.0-r1.ebuild b/app-portage/sisyphus/sisyphus-4.2107.0-r2.ebuild index 08d06e4b..a16601c1 100644 --- a/app-portage/sisyphus/sisyphus-4.2107.0-r1.ebuild +++ b/app-portage/sisyphus/sisyphus-4.2107.0-r2.ebuild @@ -69,11 +69,9 @@ pkg_postinst() { # Make sure portage sees the new mirror configuration file rm -rf "{EROOT}"etc/"${PN}"/mirrors.conf - if ARCH="amd64"; then + if [[ $(uname -m) == "x86_64" ]] ; then ln -sf "${EROOT}"etc/"${PN}"/"${PN}"-mirrors-amd64.conf "${EROOT}"etc/"${PN}"/mirrors.conf - fi - - if ARCH="arm64"; then + elif [[ $(uname -m) == "aarch64" ]] ; then ln -sf "${EROOT}"etc/"${PN}"/"${PN}"-mirrors-arm64.conf "${EROOT}"etc/"${PN}"/mirrors.conf fi } |