Skip to content

Commit

Permalink
fixup: make sure opt is at root
Browse files Browse the repository at this point in the history
  • Loading branch information
dpastoor committed Sep 26, 2022
1 parent b47cadd commit 02a467b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config/fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 02a467b

Please sign in to comment.