Update update srcipt

This commit is contained in:
MatMoul 2022-10-15 01:54:56 +02:00
parent 636e6c81a5
commit cc7b5bd1a8

View file

@ -97,7 +97,8 @@ scp -r $targetpath matmoul@web.sourceforge.net:/home/frs/project/$prjname/releas
echo "Update redirect page..."
pubfile=.build/index.php
echo "<?php" > $pubfile
echo "header(\"Location: http://downloads.sourceforge.net/project/$prjname/release/$version/$prjname\");" >> $pubfile
#echo "header(\"Location: http://downloads.sourceforge.net/project/$prjname/release/$version/$prjname\");" >> $pubfile
echo "header(\"Location: https://matmoul.github.io/archfi\");" >> $pubfile
echo "exit;" >> $pubfile
echo "?>" >> $pubfile
scp $pubfile matmoul@web.sourceforge.net:/home/project-web/$prjname/htdocs/$prjname/index.php