summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xremote/onetime-fixes/install-xfce4-greybird-theme6
1 files changed, 6 insertions, 0 deletions
diff --git a/remote/onetime-fixes/install-xfce4-greybird-theme b/remote/onetime-fixes/install-xfce4-greybird-theme
index fd9a0819..6c1251a3 100755
--- a/remote/onetime-fixes/install-xfce4-greybird-theme
+++ b/remote/onetime-fixes/install-xfce4-greybird-theme
@@ -1,5 +1,11 @@
#!/bin/sh
+if ! which startxfce4 ; then
+ # xfce4 not installed, TODO install?
+ echo "Could not find 'startxfce4'. Is it installed?"
+ exit 1
+fi
+
# first download the greybird theme
if wget https://github.com/shimmerproject/Greybird/tarball/master -O /tmp/greybird.tgz ; then