|
@@ -66,7 +66,7 @@ function refresh_gpg_keys {
|
66
|
66
|
if ! grep -q "gpg --refresh-keys" ~/temp_crontab; then
|
67
|
67
|
echo "0 */$REFRESH_GPG_KEYS_HOURS * * * $CURR_USER /usr/bin/gpg --refresh-keys > /dev/null" >> ~/temp_crontab
|
68
|
68
|
sudo cp ~/temp_crontab /etc/crontab
|
69
|
|
- chown root:root /etc/crontab
|
|
69
|
+ sudo chown root:root /etc/crontab
|
70
|
70
|
fi
|
71
|
71
|
rm ~/temp_crontab
|
72
|
72
|
}
|