From 5acc38d8ff13f871d5b6de3a80a05bf349f1aee8 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Mon, 28 Jul 2014 23:21:15 +0100 Subject: functions: Move default values into the main include file. This keeps the config file but ensures it's not 100% needed via default values --- mgatools.conf | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) (limited to 'mgatools.conf') diff --git a/mgatools.conf b/mgatools.conf index 6467b35..aeb2b29 100644 --- a/mgatools.conf +++ b/mgatools.conf @@ -1,16 +1,12 @@ -dryrun=echo -moveupdate_allowed_group=mga-qa -moveupdate_mailto=sysadmin-reports@ml.mageia.org -if [ -z $SUDO_USER ] -then - requestuser="$USER" -else - requestuser="$SUDO_USER" -fi -moveupdate_mailfrom="$requestuser " -distribdir=/distrib/bootstrap/distrib -finaldistribdir=/distrib/mirror/distrib -distroreleases='1' -distrosections='core nonfree tainted' -arches='i586 x86_64' -mirror_rsync_options="--dry-run --delete -alH" +#dryrun=echo +#moveupdate_allowed_group='mga-qa' +#moveupdate_mailto='sysadmin-reports@ml.mageia.org' +#requestuser="${SUDO_USER:-$USER}" +#moveupdate_mailfrom="$requestuser " +#distribdir='/distrib/bootstrap/distrib' +#finaldistribdir='/distrib/mirror/distrib' +#distrosections='core nonfree tainted' +#distrosubsections='release updates updates_testing backports backports_testing' +#distroreleases='1 2 3 4' +#arches='i586 x86_64' +#mirror_rsync_options="--dry-run -v --delete -alH" -- cgit v1.2.1