sudo
This commit is contained in:
parent
d841d42925
commit
978959b0cf
|
@ -66,7 +66,7 @@ function refresh_gpg_keys {
|
|||
if ! grep -q "gpg --refresh-keys" ~/temp_crontab; then
|
||||
echo "0 */$REFRESH_GPG_KEYS_HOURS * * * $CURR_USER /usr/bin/gpg --refresh-keys > /dev/null" >> ~/temp_crontab
|
||||
sudo cp ~/temp_crontab /etc/crontab
|
||||
chown root:root /etc/crontab
|
||||
sudo chown root:root /etc/crontab
|
||||
fi
|
||||
rm ~/temp_crontab
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue