2 changed files with 19 additions and 2 deletions
@ -1,3 +1,16 @@
|
||||
#!/bin/bash |
||||
|
||||
date >> /tmp/git-cron-test |
||||
|
||||
host_conf=$(hostname).scm |
||||
|
||||
cd /data/xhrpb-guix-config |
||||
|
||||
if test -f "$host_conf" |
||||
then |
||||
if ! diff "$host_conf" "/etc/config.scm" >/dev/null 2>&1 |
||||
then |
||||
cp "$host_conf" "/etc/config.scm" |
||||
guix system reconfigure /etc/config.scm |
||||
fi |
||||
fi |
||||
|
||||
Loading…
Reference in new issue