From 0c0fda90598863400a5d44f65617e24024b720e0 Mon Sep 17 00:00:00 2001 From: dcc Date: Fri, 12 Jan 2024 17:09:23 -0800 Subject: multilib is correct now --- bashs/shell scrips/keyboardlayoutswitcher.sh | 2 +- bashs/shell scrips/keyboardlayoutswitcher.sh~ | 2 +- bashs/shell scrips/multilib-install-current | 2 +- bashs/shell scrips/multilib-install-current~ | 8 ++++++++ 4 files changed, 11 insertions(+), 3 deletions(-) create mode 100755 bashs/shell scrips/multilib-install-current~ (limited to 'bashs') diff --git a/bashs/shell scrips/keyboardlayoutswitcher.sh b/bashs/shell scrips/keyboardlayoutswitcher.sh index ff3101c..838b013 100755 --- a/bashs/shell scrips/keyboardlayoutswitcher.sh +++ b/bashs/shell scrips/keyboardlayoutswitcher.sh @@ -1,4 +1,4 @@ -#!/usr/local/bin/bash +#!/bin/bash numberofparameter=$# # Gets the number of parameter passed currentlayout=$(setxkbmap -query | grep layout | awk '{print $2}') # Gets the current layout diff --git a/bashs/shell scrips/keyboardlayoutswitcher.sh~ b/bashs/shell scrips/keyboardlayoutswitcher.sh~ index d3a5df4..ff3101c 100755 --- a/bashs/shell scrips/keyboardlayoutswitcher.sh~ +++ b/bashs/shell scrips/keyboardlayoutswitcher.sh~ @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/usr/local/bin/bash numberofparameter=$# # Gets the number of parameter passed currentlayout=$(setxkbmap -query | grep layout | awk '{print $2}') # Gets the current layout diff --git a/bashs/shell scrips/multilib-install-current b/bashs/shell scrips/multilib-install-current index 9ef28b9..d7d6bce 100755 --- a/bashs/shell scrips/multilib-install-current +++ b/bashs/shell scrips/multilib-install-current @@ -3,6 +3,6 @@ cd /tmp mkdir multilib cd multilib wget -r -np -nd -l1 --accept=*.t?z http://www.slackware.com/~alien/multilib/current/ -lftp -c 'open http://slackware.com/~alien/multilib/ ; mirror -c -e 15.0' +lftp -c 'open http://slackware.com/~alien/multilib/ ; mirror -c -e current' upgradepkg --reinstall --install-new *.t?z upgradepkg --reinstall --install-new slackware64-compat32/*-compat32/*.t?z diff --git a/bashs/shell scrips/multilib-install-current~ b/bashs/shell scrips/multilib-install-current~ new file mode 100755 index 0000000..9ef28b9 --- /dev/null +++ b/bashs/shell scrips/multilib-install-current~ @@ -0,0 +1,8 @@ +#!/bin/bash +cd /tmp +mkdir multilib +cd multilib +wget -r -np -nd -l1 --accept=*.t?z http://www.slackware.com/~alien/multilib/current/ +lftp -c 'open http://slackware.com/~alien/multilib/ ; mirror -c -e 15.0' +upgradepkg --reinstall --install-new *.t?z +upgradepkg --reinstall --install-new slackware64-compat32/*-compat32/*.t?z -- cgit v1.2.3