diff options
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 |
