From 4dee7d3d4519bef0e57d4cf94276d9690b6f10b0 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Mon, 21 Jul 2014 17:11:56 +0200 Subject: [PATCH] Check on existance of the "Numix Daily" theme --- bin/numix_color_blue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/numix_color_blue b/bin/numix_color_blue index ea1f094..96667f1 100755 --- a/bin/numix_color_blue +++ b/bin/numix_color_blue @@ -1,5 +1,10 @@ #!/bin/bash +if [ ! -d "Numix Daily" ]; then + echo "Numix theme not found!" + exit 1 +fi + if [ -d "Numix Blue" ]; then rm -r "Numix Blue" fi