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:
2025-10-12 16:54:26 -04:00
parent 5dfd3312ae
commit 9c96766855
3 changed files with 6 additions and 2 deletions
+4
View File
@@ -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
View File
@@ -25,7 +25,7 @@ func premount() {
other.PrintError("Failed to enable fast_commit", 1)
}
}
if !performAllTweaks {
if performAllTweaks {
break
}
}
+1 -1
View File
@@ -104,5 +104,5 @@ const yay = `{
"sudobin": "doas",
"sudoflags": "",
"bottomup": true,
"sudoloop": false,
"sudoloop": false
}`