diff options
| author | dcc <dcc@logografos.com> | 2024-01-12 17:09:23 -0800 |
|---|---|---|
| committer | dcc <dcc@logografos.com> | 2024-01-12 17:09:23 -0800 |
| commit | 0c0fda90598863400a5d44f65617e24024b720e0 (patch) | |
| tree | 4bb7b2c09bfcf1610de8ee7075d68ef347eae47c /bashs/shell scrips | |
| parent | 1d60c3487d401b90a74b7f5e5c2a7785215ceab8 (diff) | |
| download | dcc-suckless-config-0c0fda90598863400a5d44f65617e24024b720e0.tar.gz dcc-suckless-config-0c0fda90598863400a5d44f65617e24024b720e0.tar.bz2 dcc-suckless-config-0c0fda90598863400a5d44f65617e24024b720e0.zip | |
Diffstat (limited to 'bashs/shell scrips')
| -rwxr-xr-x | bashs/shell scrips/keyboardlayoutswitcher.sh | 2 | ||||
| -rwxr-xr-x | bashs/shell scrips/keyboardlayoutswitcher.sh~ | 2 | ||||
| -rwxr-xr-x | bashs/shell scrips/multilib-install-current | 2 | ||||
| -rwxr-xr-x | bashs/shell scrips/multilib-install-current~ | 8 |
4 files changed, 11 insertions, 3 deletions
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 |
