autoupdate.yml aktualisiert

This commit is contained in:
olli 2023-07-18 15:39:00 +02:00
parent d8dab942a7
commit 31df030286

View File

@ -74,6 +74,7 @@
block: | block: |
# Server-Config in Git # Server-Config in Git
cd /root || exit 0 cd /root || exit 0
[ -d /root/server-$(hostname -s) ] && rm -r /root/server-$(hostname -s)
git clone ssh://git@gitea.ds9.dedyn.io:333/olli/server-$(hostname -s).git >/dev/null 2>&1 || exit 0 git clone ssh://git@gitea.ds9.dedyn.io:333/olli/server-$(hostname -s).git >/dev/null 2>&1 || exit 0
if [ -e /root/server-$(hostname -s)/$(hostname -s).sh ] if [ -e /root/server-$(hostname -s)/$(hostname -s).sh ]
then then