fixed broken conditional
This commit is contained in:
@@ -1,11 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
hostname=$(/usr/bin/hostname)
|
hostname=$(/usr/bin/hostname)
|
||||||
|
if [[ $hostname == "bepis-laptop" ]]; then
|
||||||
if [[ hostname -eq "bepis" ]]; then
|
|
||||||
echo "bepis"
|
|
||||||
$(~/.config/keyboard/qwerty.sh)
|
|
||||||
elif [[ hostname -eq "bepis-laptop" ]]; then
|
|
||||||
echo "bepis-laptop"
|
echo "bepis-laptop"
|
||||||
$(~/.config/keyboard/colemak.sh)
|
$(~/.config/keyboard/colemak.sh)
|
||||||
|
elif [[ $hostname == "bepis" ]]; then
|
||||||
|
echo "bepis"
|
||||||
|
$(~/.config/keyboard/qwerty.sh)
|
||||||
fi
|
fi
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
hostname=$(/usr/bin/hostname)
|
hostname=$(/usr/bin/hostname)
|
||||||
|
|
||||||
if [[ $hostname -eq "bepis" ]]; then
|
if [[ $hostname == "bepis" ]]; then
|
||||||
$(~/.config/screenlayout/bepis.sh)
|
$(~/.config/screenlayout/bepis.sh)
|
||||||
fi
|
fi
|
||||||
Reference in New Issue
Block a user