added --ff-only to git pull commands
This commit is contained in:
@@ -145,7 +145,7 @@ fi
|
||||
# clone the homelab scripts for use later
|
||||
if [ -d /opt/homelab-scripts ]; then
|
||||
cd /opt/homelab-scripts
|
||||
git pull
|
||||
git pull --ff-only
|
||||
else
|
||||
cd /opt
|
||||
git clone https://git.johnhgaunt.com/jgaunt/homelab-scripts
|
||||
@@ -154,7 +154,7 @@ fi
|
||||
# install neofetch
|
||||
if [ -d /opt/neofetch ]; then
|
||||
cd /opt/neofetch
|
||||
git pull
|
||||
git pull --ff-only
|
||||
make install
|
||||
else
|
||||
cd /opt
|
||||
|
||||
Reference in New Issue
Block a user