]> git.lizzy.rs Git - elidragon_v2.git/commitdiff
Make update script function properly
authorElias Fleckenstein <eliasfleckenstein@web.de>
Sun, 28 Feb 2021 11:03:01 +0000 (12:03 +0100)
committerElias Fleckenstein <eliasfleckenstein@web.de>
Sun, 28 Feb 2021 11:03:01 +0000 (12:03 +0100)
scripts/update.sh

index 56b12e1a46efaa279624abc58ece36a674da9479..a9b1c1d64bef4fec9772bca6fd20c7a90c05337f 100755 (executable)
@@ -3,11 +3,7 @@
 # Update all software used by the server
 
 # Pull repository
-git pull
-
-# Update submodules
-git submodule init
-git submodule update
+git pull --recurse-submodules
 
 # Update minetest and screen
 sudo apt-get update -y