diff options
| author | Jonathan Bauer | 2014-05-08 14:52:02 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2014-05-08 14:52:02 +0200 |
| commit | 7c2da2fb34ec68b36f4399a51866ffeeffc4c253 (patch) | |
| tree | 121aed5d93bf4344d0404418c2f4dccee280589b /remote | |
| parent | Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff) | |
| download | tm-scripts-7c2da2fb34ec68b36f4399a51866ffeeffc4c253.tar.gz tm-scripts-7c2da2fb34ec68b36f4399a51866ffeeffc4c253.tar.xz tm-scripts-7c2da2fb34ec68b36f4399a51866ffeeffc4c253.zip | |
[one-time-fix] first check if xfce4 is installed before installing greybird theme
Diffstat (limited to 'remote')
| -rwxr-xr-x | remote/onetime-fixes/install-xfce4-greybird-theme | 6 |
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 |
