fixes for bashtop removal
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user