We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3926506 commit 202b326Copy full SHA for 202b326
1 file changed
install_script_tools.sh
@@ -10,6 +10,7 @@
10
PIHOME=/home/pi
11
DEXTER=Dexter
12
LIB=lib
13
+SCRIPTS=script_tools
14
15
pushd $PIHOME
16
@@ -27,12 +28,12 @@ if [ ! -d $LIB ] ; then
27
28
mkdir $LIB
29
fi
30
-# check if /home/pi/Dexter/lib/Dexter exists
31
+# check if /home/pi/Dexter/lib/script_tools exists
32
# if yes refresh the folder
33
# if not, clone the folder
-if [ -d $DEXTER ] ; then
34
+if [ -d $SCRIPT ] ; then
35
echo "Pulling"
- cd $DEXTER
36
+ cd $SCRIPT
37
sudo git pull
38
else
39
# clone the folder
0 commit comments