vestasync/files/pullgit.sh

7 lines
213 B
Bash
Raw Normal View History

2023-04-16 19:06:06 +03:00
#!/usr/bin/env sh
git config --global user.name vestasync_wb_$(hostname)
git config --global user.email "vestasync@fake.mail"
cd /mnt/data/etc/
git fetch > /dev/null 2>&1 || true
git pull > /dev/null 2>&1 || true