fixes for bashtop removal

This commit is contained in:
2026-05-29 18:09:30 -05:00
parent c4f7f6d240
commit 430b018aa9
4 changed files with 4 additions and 95 deletions
+4 -1
View File
@@ -37,7 +37,6 @@ var guiSystemPkgs = map[string]bool{
}
func isSpecialPkgInstalled(pkg string) bool {
home, _ := os.UserHomeDir()
exists := func(p string) bool { _, err := osStat(p); return err == nil }
switch pkg {
case "obsidian":
@@ -497,6 +496,10 @@ func installSystemPackages(regular, special []string) {
installSpecialPkg(pkg, tmp)
}
}
if pkgMgr == "apt-get" && hasCmd("fdfind") {
runCmd([]string{"ln", "-sf", "/usr/bin/fdfind", "/usr/local/bin/fd"}, CmdOpts{AsSudo: true})
}
}
// appendProfileLine adds a PATH/env line to a system-wide login-shell profile,