Skip to content

Commit 202b326

Browse files
committed
fix cloning again
1 parent 3926506 commit 202b326

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

install_script_tools.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
PIHOME=/home/pi
1111
DEXTER=Dexter
1212
LIB=lib
13+
SCRIPTS=script_tools
1314

1415
pushd $PIHOME
1516

@@ -27,12 +28,12 @@ if [ ! -d $LIB ] ; then
2728
mkdir $LIB
2829
fi
2930

30-
# check if /home/pi/Dexter/lib/Dexter exists
31+
# check if /home/pi/Dexter/lib/script_tools exists
3132
# if yes refresh the folder
3233
# if not, clone the folder
33-
if [ -d $DEXTER ] ; then
34+
if [ -d $SCRIPT ] ; then
3435
echo "Pulling"
35-
cd $DEXTER
36+
cd $SCRIPT
3637
sudo git pull
3738
else
3839
# clone the folder

0 commit comments

Comments
 (0)