Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Make it clear what pkg2ng added to periodic.conf
Matthew Seaman committed 12 years ago
commit 6b4c22ad6152c7a9cee1a532382a6ea2d7c3fdbc
parent 2d7abb65d7a42db8b1033580c19dfcc940fb65fa
1 file changed +5 -0
modified scripts/sbin/pkg2ng.in
@@ -73,6 +73,9 @@ if [ "${periodic_update}" = "yes" ]; then

    exec >> ${TMPFILE}

+
    echo
+
    echo "### Added by $(basename $0) on $(date +%Y-%m-%d)"
+

    # weekly_status_pkg_enable -- use 'pkg version'.  This will use
    # the ports tree or the ports INDEX if they exist in preference to
    # the pkg repository catalogue.
@@ -121,6 +124,8 @@ if [ "${periodic_update}" = "yes" ]; then
	    ;;
    esac

+
    echo "### End of additions by $(basename $0)"
+

    cp -p $periodic_conf ${periodic_conf}.bak
    cp -p $TMPFILE $periodic_conf
fi