diff --git a/bash/.bashrc b/bash/.bashrc index d83622b..2f69f3b 100755 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -131,7 +131,6 @@ export LIBGL_ALWAYS_INDIRECT=1 # set DISPLAY variable to the IP automatically assigned to WSL2 export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0 sudo /etc/init.d/dbus start &> /dev/null -. "$HOME/.cargo/env" # enable GPG signing export GPG_TTY=$(tty) diff --git a/bin/add-license b/bin/add-license index 541e85f..db873af 100755 --- a/bin/add-license +++ b/bin/add-license @@ -235,7 +235,7 @@ distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.") - spdx = "Apache-2.0" + global spdx = "Apache-2.0" elseif license == "mit" # MIT license write(io, "MIT License @@ -259,7 +259,7 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.") - spdx = "MIT" + global spdx = "MIT" elseif license == "gpl" || license == "gpl-3.0" || license == "gpl3" || license == "gpl3.0" # GPL-3.0 license write(io, " GNU GENERAL PUBLIC LICENSE @@ -936,7 +936,7 @@ may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read .") - spdx = "GPL-3.0" + global spdx = "GPL-3.0" elseif license == "unlicense" # Unlicesne write(io, "This is free and unencumbered software released into the public domain. @@ -963,7 +963,7 @@ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to ") - spdx = "Unlicense" + global spdx = "Unlicense" elseif license == "wtfpl" || license == "do what the fuck you want" write(io, " DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE Version 2, December 2004 @@ -978,7 +978,7 @@ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. You just DO WHAT THE FUCK YOU WANT TO.") - spdx = "WTFPL" + global spdx = "WTFPL" else println("License name is invalid") end diff --git a/go/env b/go/env index 9c5b51c..1758778 100755 --- a/go/env +++ b/go/env @@ -1,3 +1,2 @@ GO111MODULE=on -GOPRIVATE=repository.klgsys.com -GOPROXY=https://goproxy.io,direct +GOPROXY=https://proxy.golang.org,direct diff --git a/scripts/git.sh b/scripts/git.sh index a7e2799..00bfd6f 100755 --- a/scripts/git.sh +++ b/scripts/git.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERSION="2.34.0" +VERSION="2.35.2" function install () { cd ~ diff --git a/scripts/go.sh b/scripts/go.sh index 79b97d7..194947f 100755 --- a/scripts/go.sh +++ b/scripts/go.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERSION="1.17.7" +VERSION="1.18.1" function install () { echo "installing go" diff --git a/scripts/java.sh b/scripts/java.sh index 748861a..f00880a 100755 --- a/scripts/java.sh +++ b/scripts/java.sh @@ -15,7 +15,7 @@ function install () { function install_alt () { cd ~ - sudo apt-get install openjdk-11-jre openjdk-11-jdk + sudo apt-get install openjdk-17-jre openjdk-17-jdk printf "\n\n" java --version printf "\n"