From 4278155a0067d63464f12286d4a6d4c7a6ac8697 Mon Sep 17 00:00:00 2001 From: talwat Date: Thu, 12 May 2022 13:50:24 +0200 Subject: [PATCH] Release 0.35 --- .github/workflows/test.yml | 3 +++ input.go | 2 +- setup.go | 4 +--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9072c27..5e67f6c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,6 +37,9 @@ jobs: - name: Run help command run: ./indiepkg help + - name: Run env-add command + run: ./indiepkg env-add -y + - name: Run setup command run: ./indiepkg setup -d diff --git a/input.go b/input.go index b84671c..4916564 100644 --- a/input.go +++ b/input.go @@ -5,7 +5,7 @@ import ( "strings" ) -const version = "0.35-alpha" +const version = "0.35" var purge, debug, assumeYes, force, noDeps, ignoreRoot bool = false, false, false, false, false, false diff --git a/setup.go b/setup.go index d6d2b3d..0a36a9b 100644 --- a/setup.go +++ b/setup.go @@ -13,9 +13,7 @@ func setup() { } func envAdd() { - confirm("y", "Are you sure you would like to add %s to $PATH? This will fix a lot of issues with packages not being found (y/n)", bolden(home+".local/bin")) - - debug = true + confirm("y", "Are you sure you would like to add %s to several environment variables? This will fix a lot of issues with packages not being found (y/n)", bolden(home+".local")) appendVarRc := func(varName string, path string) string { textToAppend := "export " + varName + "=\"$HOME/" + path + ":$" + varName + "\"" + "\n"