You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
281 B

#!/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