Commit f02a61c6 authored by Holger Wansing's avatar Holger Wansing

installation-guide: New source package targets buster, so changing stretch...

installation-guide: New source package targets buster, so changing stretch into buster and jessie into stretch
parent 62abcc64
......@@ -12,17 +12,17 @@ cd $crondir/tmp
igdsc=`ls -t1 $ftpdir/pool/installation-guide_*.dsc | head -1`
igdir=`basename "$igdsc" |
sed -e 's/installation-guide_/installation-guide-/' -e 's/\.dsc//'`
if [ "$igdsc" -nt $webtopdir/installmanual/stretch.log -a "$igdsc" -nt $webtopdir/installmanual/jessie.log ]; then
if [ "$igdsc" -nt $webtopdir/installmanual/buster.log -a "$igdsc" -nt $webtopdir/installmanual/stretch.log ]; then
echo "extracting installation-guide source..." >> $crondir/log/lessoften.log
[ -d "$igdir" ] && rm -fr "$igdir"
dpkg-source -sn -x "$igdsc" >> $crondir/log/lessoften.log
if [ -d "$igdir" ]; then
echo "building installation-guide for stretch..." >> $crondir/log/lessoften.log
echo "building installation-guide for buster..." >> $crondir/log/lessoften.log
cd $igdir/build &&
manual_release=stretch destination=$webtopdir/installmanual/stretch/ ./buildweb.sh > $webtopdir/installmanual/stretch.log 2>&1
manual_release=buster destination=$webtopdir/installmanual/buster/ ./buildweb.sh > $webtopdir/installmanual/buster.log 2>&1
fi
echo "copying stretch installmanual in place..." >> $crondir/log/lessoften.log
cp -a $webtopdir/installmanual/stretch/* $webdir/releases/stretch/
echo "copying buster installmanual in place..." >> $crondir/log/lessoften.log
cp -a $webtopdir/installmanual/buster/* $webdir/releases/buster/
else
echo no new installation-guide for stretch, skipping build >> $crondir/log/lessoften.log
echo no new installation-guide for buster, skipping build >> $crondir/log/lessoften.log
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment