mirror of
https://github.com/rwinkhart/cachyos-postinstall-helper.git
synced 2026-08-28 04:46:52 -04:00
Fix all tweaks mode getting stuck on pre-mount; fix yay config; exit after firmware selector in all tweaks mode
This commit is contained in:
@@ -2,6 +2,7 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/rwinkhart/go-boilerplate/back"
|
||||
@@ -23,6 +24,9 @@ func firmwareSelector() {
|
||||
allPackages := append(nonOptional, optional...)
|
||||
managePackages("-Rcns", []string{"linux-firmware"})
|
||||
managePackages("-S", allPackages)
|
||||
if performAllTweaks {
|
||||
os.Exit(0)
|
||||
}
|
||||
case 3:
|
||||
optional = append(optional, firm+"intel")
|
||||
case 4:
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ func premount() {
|
||||
other.PrintError("Failed to enable fast_commit", 1)
|
||||
}
|
||||
}
|
||||
if !performAllTweaks {
|
||||
if performAllTweaks {
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user