diff --git a/internal/config/fs.go b/internal/config/fs.go index 4a00099..8b4d6da 100644 --- a/internal/config/fs.go +++ b/internal/config/fs.go @@ -45,7 +45,7 @@ func GetPathToActiveQuartoExe() string { func GetPathToVersionsDir() string { // if running as root, install to /opt/quarto as an admin helper if runtime.GOOS == "linux" && os.Getuid() == 0 { - return filepath.Join("opt", "quarto") + return filepath.Join("/opt", "quarto") } return filepath.Join(xdg.DataHome, "qvm", "versions")