From 6b1bf5c8148425124de49d06cce9d150be8129f8 Mon Sep 17 00:00:00 2001 From: Aljaz Ceru Date: Thu, 28 Aug 2014 21:14:39 +0200 Subject: [PATCH] cleanup --- centos-errata-update.sh | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/centos-errata-update.sh b/centos-errata-update.sh index c6edca8..ca24b94 100755 --- a/centos-errata-update.sh +++ b/centos-errata-update.sh @@ -16,12 +16,7 @@ cd /opt/ya-errata-import wget -N http://cefs.steve-meier.de/errata.latest.xml ERRATA=/opt/ya-errata-import/errata.latest.xml -# update errata for channels (could be all at once but this looks more transparent -/opt/ya-errata-import/errata-import.pl --errata=$ERRATA_XML --server $SPACEWALK --publish --include-channels --debug --security centos5-updates-i386-repo -/opt/ya-errata-import/errata-import.pl --errata=$ERRATA_XML --server $SPACEWALK --publish --include-channels --debug --security centos5-base-i386-repo -/opt/ya-errata-import/errata-import.pl --errata=$ERRATA_XML --server $SPACEWALK --publish --include-channels --debug --security centos5-base-x86_64-repo -/opt/ya-errata-import/errata-import.pl --errata=$ERRATA_XML --server $SPACEWALK --publish --include-channels --debug --security centos5-updates-x86_64-repo -/opt/ya-errata-import/errata-import.pl --errata=$ERRATA_XML --server $SPACEWALK --publish --include-channels --debug --security centos6-base-x86_64-repo -/opt/ya-errata-import/errata-import.pl --errata=$ERRATA_XML --server $SPACEWALK --publish --include-channels --debug --security centos6-updates-x86_64-repo -/opt/ya-errata-import/errata-import.pl --errata=$ERRATA_XML --server $SPACEWALK --publish --include-channels --debug --security centos7-updates-x86_64-repo -/opt/ya-errata-import/errata-import.pl --errata=$ERRATA_XML --server $SPACEWALK --publish --include-channels --debug --security centos7-base-x86_64-repo +# update errata for channels (all channels could be in one line separated with commas but if you have many chans its more transparent this way + +/opt/ya-errata-import/errata-import.pl --errata=$ERRATA_XML --server $SPACEWALK --publish --debug --security --include-channels +/opt/ya-errata-import/errata-import.pl --errata=$ERRATA_XML --server $SPACEWALK --publish --debug --security --include-channels \ No newline at end of file