improvements

This commit is contained in:
2025-07-30 22:36:16 -03:00
parent 2af1d0266e
commit cef7ce1eb8

View File

@@ -1220,6 +1220,11 @@ func Upgrade(packagepath string, og_realname string, serial uint) error {
fmt.Println("Making post install configuration...") fmt.Println("Making post install configuration...")
cmd := exec.Command(script) cmd := exec.Command(script)
cmd.Env = append(os.Environ(),
fmt.Sprintf("PACKETS_PACKAGE_DIR=%s", cfg.Config.DataDir),
// TODO "ADD_TO_PATH=,
)
cmd.Stdout = os.Stdout cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr cmd.Stderr = os.Stderr