We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3b1bdf commit 3926506Copy full SHA for 3926506
1 file changed
install_script_tools.sh
@@ -15,24 +15,28 @@ pushd $PIHOME
15
16
# check if ~/Dexter exists, if not create it
17
if [ ! -d $DEXTER ] ; then
18
+ echo "creating $PIHOME/$DEXTER"
19
mkdir $DEXTER
20
fi
21
# go into $DEXTER
22
cd $DEXTER
23
24
# check if /home/pi/Dexter/lib exists, if not create it
25
if [ ! -d $LIB ] ; then
26
+ echo "creating $PIHOME/$DEXTER/$LIB"
27
mkdir $LIB
28
29
30
# check if /home/pi/Dexter/lib/Dexter exists
31
# if yes refresh the folder
32
# if not, clone the folder
33
if [ -d $DEXTER ] ; then
34
+ echo "Pulling"
35
36
sudo git pull
37
else
38
# clone the folder
39
+ echo "Cloning"
40
sudo git clone https://github.com/DexterInd/script_tools.git
41
42
0 commit comments