Add more info when removing old dedications

This commit is contained in:
Steve McIntyre 2019-03-21 13:03:11 +00:00
parent 0f8a2f2387
commit 4fdd13cc0c
1 changed files with 2 additions and 0 deletions

View File

@ -256,6 +256,8 @@ if [ $DISKNUM = 1 ] ; then
if [ "$OMIT_DOC_TOOLS" != "1" ]; then if [ "$OMIT_DOC_TOOLS" != "1" ]; then
echo " Adding docs to CD1" echo " Adding docs to CD1"
$BASEDIR/tools/add_files $CDDIR $MIRROR doc $BASEDIR/tools/add_files $CDDIR $MIRROR doc
echo " Removing old dedications"
DEBMAINVER="`echo $DEBVERSION | sed -e 's/[ _r].*//;s/\..*//'`" DEBMAINVER="`echo $DEBVERSION | sed -e 's/[ _r].*//;s/\..*//'`"
find $CDDIR/doc -name "dedication-*" | grep -v "$DEBMAINVER" | xargs rm -vf find $CDDIR/doc -name "dedication-*" | grep -v "$DEBMAINVER" | xargs rm -vf
find $CDDIR/doc -name "debian-keyring.tar.gz" | xargs rm -f find $CDDIR/doc -name "debian-keyring.tar.gz" | xargs rm -f