2021-11-01 16:51:34 +01:00
|
|
|
|
|
|
|
|
all: sync
|
|
|
|
|
|
|
|
|
|
sync: test update
|
|
|
|
|
@git status | grep -q 'nothing to commit' || (git add -A && git commit -am "$$(date '+%F %T')" && git push) || true
|
|
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
@dig +short vogsphere.baco.net A | grep -q '213\.5\.156\.25' || echo 'vogsphere.baco.net unreachable'
|
|
|
|
|
|
|
|
|
|
update:
|
|
|
|
|
@git pull
|
|
|
|
|
|
2021-11-02 17:47:57 +01:00
|
|
|
imac:
|
|
|
|
|
@test -d ~/goinfre/VirtualBox\ VMs || mkdir -p ~/goinfre/VirtualBox\ VMs
|
|
|
|
|
@ln -snf ~/goinfre/VirtualBox\ VMs ~/VirtualBox\ VMs
|
|
|
|
|
|