Skip to content

Commit 3926506

Browse files
committed
add debugging statements
1 parent d3b1bdf commit 3926506

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

install_script_tools.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,28 @@ pushd $PIHOME
1515

1616
# check if ~/Dexter exists, if not create it
1717
if [ ! -d $DEXTER ] ; then
18+
echo "creating $PIHOME/$DEXTER"
1819
mkdir $DEXTER
1920
fi
2021
# go into $DEXTER
2122
cd $DEXTER
2223

2324
# check if /home/pi/Dexter/lib exists, if not create it
2425
if [ ! -d $LIB ] ; then
26+
echo "creating $PIHOME/$DEXTER/$LIB"
2527
mkdir $LIB
2628
fi
2729

2830
# check if /home/pi/Dexter/lib/Dexter exists
2931
# if yes refresh the folder
3032
# if not, clone the folder
3133
if [ -d $DEXTER ] ; then
34+
echo "Pulling"
3235
cd $DEXTER
3336
sudo git pull
3437
else
3538
# clone the folder
39+
echo "Cloning"
3640
sudo git clone https://github.com/DexterInd/script_tools.git
3741
fi
3842

0 commit comments

Comments
 (0)