Skip to content

Instantly share code, notes, and snippets.

@totszwai
totszwai / update-pkgconf.sh
Last active July 3, 2024 02:04
Script that will update system pkgconf to the desire version as alternatives
#!/bin/bash
set -e
WHAT=pkgconf
VERSION=2.2.0
FULLNAME=${WHAT}-${VERSION}
INSTDIR=/opt/${FULLNAME}
function install() {
[ $# -eq 0 ] && { run_error "Usage: install <version>"; exit; }
@totszwai
totszwai / update-autoconf.sh
Last active July 3, 2024 01:22
Script that will update system autoconf to the desire version as alternatives
#!/bin/bash
set -e
WHAT=autoconf
VERSION=2.71
FULLNAME=${WHAT}-${VERSION}
INSTDIR=/opt/${FULLNAME}
function install() {
[ $# -eq 0 ] && { run_error "Usage: install <version>"; exit; }
@totszwai
totszwai / update-automake.sh
Created July 3, 2024 01:21
Script that will update system automake to the desire version as alternatives
#!/bin/bash
set -e
WHAT=automake
VERSION=1.16.5
FULLNAME=${WHAT}-${VERSION}
INSTDIR=/opt/${FULLNAME}
function install() {
[ $# -eq 0 ] && { run_error "Usage: install <version>"; exit; }