From 7c2da2fb34ec68b36f4399a51866ffeeffc4c253 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 8 May 2014 14:52:02 +0200 Subject: [one-time-fix] first check if xfce4 is installed before installing greybird theme --- remote/onetime-fixes/install-xfce4-greybird-theme | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3-55-g7522