Minor sync of files from production server

This commit is contained in:
Silvan Calarco 2022-07-03 16:37:21 +02:00
parent 734931bb93
commit 53981f2724
3 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
# makedist-announcement
# Copyright (c) 2012-2014 by Silvan Calarco <silvan.calarco@mambasoft.it>
# Copyright (c) 2012-2020 by Silvan Calarco <silvan.calarco@mambasoft.it>
#
. /usr/share/makedist/VERSION

View File

@ -13,7 +13,7 @@ DESTBASEURL=/pub/openmamba/devel/media
[ "$TODAYDATE" ] || TODAYDATE=`date +%Y%m%d`
GLOBDOWNLOADSFILE=$DESTBASEDIR/downloads.inc
LANGS="it en es"
ARCHS="i586 arm x86_64"
ARCHS="i586 arm x86_64 aarch64"
tmpfile=`mktemp`
@ -37,6 +37,7 @@ for m in $MILESTONES; do
for f in `find $d -maxdepth 1 -type f -a \( -name "*.$a.iso" -o -name "*.$a.cpio.gz" -o -name "*.$a.tar.gz" -o -name "*.$a.tar.xz" -o -name "*.$a.tar.bz2" -o -name "*.$a.img.gz" \)`; do
echo `stat -c %Z $f` `basename $f` >> $tmpfile
done
# move releases to /old subdir except the current one
filecount=0
for f in `cat $tmpfile | sort -r | awk '{ print $2 }' `; do
if [ $filecount = 0 ]; then

View File

@ -173,7 +173,7 @@ $RPM_CHROOT_PREFIX $RPM $RPM_ROOT_APPEND --initdb" > ${LOCALSTATEDIR}/${BUILDSCR
$RPM_CHROOT_PREFIX $RPM $RPM_ROOT_APPEND --initdb ||
{ echo "$makedist_me: unable to initialize the RPM database" >&2
{ (exit 1); exit 1; }; }
[ -e "$MOUNTDIR/$RPM_GPG_KEY" ] && {
[ -e "$RPM_GPG_KEY" ] && {
$RPM_CHROOT_PREFIX $RPM $RPM_ROOT_APPEND --import $RPM_GPG_KEY
echo "$RPM_CHROOT_PREFIX $RPM $RPM_ROOT_APPEND --import $RPM_GPG_KEY" >> ${LOCALSTATEDIR}/${BUILDSCRIPT_NAME}
}