mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
🚧 fix
This commit is contained in:
2 files changed
+6
-2
No files matched your search
@@ -46,11 +46,13 @@ _clean_packages() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_try_v3() {
|
_try_v3() {
|
||||||
|
/lib/ld-linux-x86-64.so.2 --help | grep "x86-64-v3 (supported, searched)" > /dev/null
|
||||||
|
|
||||||
local pacman_conf="/etc/pacman.conf"
|
local pacman_conf="/etc/pacman.conf"
|
||||||
local pacman_conf_cachyos="/etc/pacman-more.conf"
|
local pacman_conf_cachyos="/etc/pacman-more.conf"
|
||||||
local pacman_conf_path_backup="/etc/pacman.conf.bak"
|
local pacman_conf_path_backup="/etc/pacman.conf.bak"
|
||||||
|
|
||||||
if /lib/ld-linux-x86-64.so.2 --help | grep "x86-64-v3 (supported, searched)" > /dev/null; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "x86-64-v3 is supported"
|
echo "x86-64-v3 is supported"
|
||||||
|
|
||||||
sed -i 's/Architecture = auto/#Architecture = auto/' $pacman_conf_cachyos
|
sed -i 's/Architecture = auto/#Architecture = auto/' $pacman_conf_cachyos
|
||||||
|
|||||||
@@ -12,11 +12,13 @@ _clean_packages() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_try_v3() {
|
_try_v3() {
|
||||||
|
/lib/ld-linux-x86-64.so.2 --help | grep "x86-64-v3 (supported, searched)" > /dev/null
|
||||||
|
|
||||||
local pacman_conf="/etc/pacman.conf"
|
local pacman_conf="/etc/pacman.conf"
|
||||||
local pacman_conf_cachyos="/etc/pacman-more.conf"
|
local pacman_conf_cachyos="/etc/pacman-more.conf"
|
||||||
local pacman_conf_path_backup="/etc/pacman.conf.bak"
|
local pacman_conf_path_backup="/etc/pacman.conf.bak"
|
||||||
|
|
||||||
if /lib/ld-linux-x86-64.so.2 --help | grep "x86-64-v3 (supported, searched)" > /dev/null; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "x86-64-v3 is supported"
|
echo "x86-64-v3 is supported"
|
||||||
|
|
||||||
sed -i 's/Architecture = auto/#Architecture = auto/' $pacman_conf_cachyos
|
sed -i 's/Architecture = auto/#Architecture = auto/' $pacman_conf_cachyos
|
||||||
|
|||||||
Reference in new issue
Block a user