From 8c57a049ecb1049120a7c17d94052ddb859f227a Mon Sep 17 00:00:00 2001 From: StrawsonDesign Date: Wed, 26 Oct 2016 21:29:15 -0700 Subject: [PATCH] fix not making /etc/roboticscape on first install --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.sh b/install.sh index 49ccf796..8bd10e76 100755 --- a/install.sh +++ b/install.sh @@ -66,6 +66,12 @@ bash debian/preinst make clean make install +# make roboticscape directory if it's not there yet +if [ ! -d "/etc/roboticscape" ]; then + echo "making /etc/roboticscape" + mkdir /etc/roboticscape +fi + # enable services echo "systemctl daemon-reload" systemctl daemon-reload