Remove bashism.

This commit is contained in:
jschx committed 2015-11-22 10:35:00 -06:00
1 parent 380c6c1d8f
commit 6e35013a0d
1 file changed
+1 -1
+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