Browse files

fixed install.sh script to include vars file

  • Loading branch information...
1 parent 5e16781 commit 5d92b629a31b9197b12cfd862e785134fcbce5fb astancu committed Jul 27, 2012
Showing with 8 additions and 1 deletion.
  1. +8 −1 install.sh
View
9 install.sh
@@ -15,8 +15,15 @@ exit 12
fi
-. var/lib/xinit/functions
+if [[ ! -e var/lib/xinit/vars ]]; then
+
+echo "Error: I can't find var/lib/xinit/vars file."
+exit 15
+fi
+
+. var/lib/xinit/functions
+. var/lib/xinit/vars
xinit_update ()
{

0 comments on commit 5d92b62

Please sign in to comment.