Skip to content
Snippets Groups Projects

Updates

Merged Alex Iribarren requested to merge updates into master
1 file
+ 3
6
Compare changes
  • Side-by-side
  • Inline
+ 3
6
#!/bin/bash -x
TOP="/advisories"
DISTS="slc6X cc7X c8X"
DISTS="cc7X c8X CS9"
REPOS="repos"
ARCHS="i386 x86_64"
ARCHS="x86_64 aarch64"
UPDINFO="/root/updateinfo.pl"
UPDINFOPY="/root/updateinfo.py"
UPDARGS="-X"
for DIST in ${DISTS}; do
for ARCH in $ARCHS; do
if [ $DIST == "cc7X" -a $ARCH == "i386" ]; then
continue
fi
if [ $DIST == "c8X" -a $ARCH == "i386" ]; then
if [ $DIST == "cc7X" -a $ARCH == "aarch64" ]; then
continue
fi
# Keep a backup db file to be used in case another script needs to read it at the same time this cronjob runs
Loading