aboutsummaryrefslogtreecommitdiff
path: root/scripts/hostclass/pkg_repository
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/hostclass/pkg_repository')
-rw-r--r--scripts/hostclass/pkg_repository3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/hostclass/pkg_repository b/scripts/hostclass/pkg_repository
index 7226b77..969dff7 100644
--- a/scripts/hostclass/pkg_repository
+++ b/scripts/hostclass/pkg_repository
@@ -99,8 +99,7 @@ install_directory -m 0555 "${poudriere_data_dir}/data/packages/poudriere"
# Create cron job to update packages automatically.
install_file -m 0555 /usr/local/libexec/poudriere-cron
-echo "@weekly root lockf -t 0 /tmp/poudriere-cron.lock /usr/local/libexec/poudriere-cron $(echo "$poudriere_versions" | tr . _)" \
- | tee /etc/cron.d/poudriere
+install_file -m 0644 /etc/cron.d/poudriere
# Now that we have a valid repo, switch the pkg repo to the local filesystem.
install_directory -m 0755 \