mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-21 02:08:48 +02:00
Fix upload script
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6887 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
d4d4fd907b
commit
d1d664ed97
@ -79,6 +79,12 @@ esac
|
||||
|
||||
echo "There are no known problems in Shorewall version $1" > known_problems.txt
|
||||
|
||||
if [ -f shorewall-lite-${1}/releasenotes.txt ]; then
|
||||
cat $SHOREWALL-${1}/releasenotes.txt shorewall-lite-${1}/releasenotes.txt > releasenotes.txt
|
||||
else
|
||||
cat $SHOREWALL-${1}/releasenotes.txt > releasenotes.txt
|
||||
fi
|
||||
|
||||
if [ "$HOSTNAME" = lists ]; then
|
||||
mkdir -p $DEST
|
||||
COMMAND=cp
|
||||
@ -87,10 +93,4 @@ else
|
||||
DEST=${USER}:${DEST}
|
||||
fi
|
||||
|
||||
if [ -f shorewall-lite-${1}/releasenotes.txt ]; then
|
||||
cat $SHOREWALL-${1} shorewall-lite-${1} > releasenotes.txt
|
||||
else
|
||||
cp $SHOREWALL-${1}/releasenotes.txt .
|
||||
fi
|
||||
|
||||
$COMMAND -r errata known_problems.txt patch-$1 ${1}.* releasenotes.txt shorewall*${1}*.tgz* shorewall*${1}*.bz2* $rpm $literpm $perlrpm $shellrpm $DEST
|
||||
|
Loading…
x
Reference in New Issue
Block a user