Skip to content

Commit

Permalink
Feat: automatic downloads cleanup after install
Browse files Browse the repository at this point in the history
closes #17
  • Loading branch information
kerolloz committed Jun 30, 2024
1 parent 1660754 commit 92ba1e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,10 @@ function update_go() {

}

function remove_downloaded_package() {
rm -f "$latest_version_file_name"
}

function main() {
print_welcome

Expand Down Expand Up @@ -282,6 +286,7 @@ function main() {
fi

test_installation
remove_downloaded_package
}

main "$@"

0 comments on commit 92ba1e2

Please sign in to comment.