setup/clone/utility/sats-update

10 lines
241 B
Bash

#!/bin/sh
# [0] Check installed first
if [ ! -e /target/sync ]; then
exit 1;
fi;
# [1] Propagate script to UPDATE
sudo -u sats /bin/bash /home/sats/satsd/source/update | sudo -u sats tee -a /home/sats/satsd/log/update.log > /dev/null;