goldwarden-vaultwarden-bitw.../cli/client/setup/setup_linux.go

20 lines
347 B
Go
Raw Permalink Normal View History

2023-09-12 03:26:05 +02:00
//go:build linux
package setup
import (
"fmt"
2024-05-04 01:06:24 +02:00
"github.com/quexten/goldwarden/cli/agent/config"
"github.com/quexten/goldwarden/cli/cmd"
2023-09-12 03:26:05 +02:00
)
func VerifySetup(runtimeConfig config.RuntimeConfig) bool {
2024-02-09 19:37:09 +01:00
if !cmd.IsPolkitSetup() {
2023-09-12 03:26:05 +02:00
fmt.Println("Polkit is not setup. Run 'goldwarden setup polkit' to set it up.")
return false
}
return true
}