Remove bashism.

This commit is contained in:
jsch
2015-11-22 10:35:00 -06:00
parent 05315afabd
commit b3c3cc27d4
+1 -1
View File
@@ -12,7 +12,7 @@ KERNEL="$(uname -sr)"
UPTIME="$(uptime -p | sed s:"up "::)"
PACKAGES="$(pkginfo -i | wc -l)"
# shell is already defined
if [[ -z "$WM" ]]; then
if [ -z "$WM" ]; then
WM="$(grep -v "^#" "${HOME}/.xinitrc" | tail -n 1 | cut -d " " -f2)"
fi