From 9077dfec8a4b7bce4954286b6aec4489d3c0c0f3 Mon Sep 17 00:00:00 2001
From: Ryan Kavanagh <rak@debian.org>
Date: Sat, 28 Jul 2018 11:49:16 -0400
Subject: Fix bug in .xinitrc

---
 .xinitrc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to '.xinitrc')

diff --git a/.xinitrc b/.xinitrc
index 48b8207..1e4ef90 100755
--- a/.xinitrc
+++ b/.xinitrc
@@ -1,5 +1,7 @@
 #!/bin/sh
-[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
+if test -f ~/.Xresources; then
+    xrdb -merge -I$HOME ~/.Xresources
+fi
 redshift -m REDSHIFT_MODE  -l 44.22:-76.48 -t 6500:2500 &
 ${HOME}/bin/icd
 # xcompmgr &
-- 
cgit v1.2.3