From 02a467b4c6a988a90f47a225eeb82a5bf819057a Mon Sep 17 00:00:00 2001 From: Devin Pastoor Date: Mon, 26 Sep 2022 09:35:23 -0400 Subject: [PATCH] fixup: make sure opt is at root --- internal/config/fs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")