Update the upgrade script

This commit is contained in:
Sylvestre Ledru 2013-02-26 16:40:09 +00:00
parent 1a00651100
commit 6592fa9d52

View File

@ -9,7 +9,7 @@ for F in $LIST; do
TARGET=`echo $F|sed -e "s|$ORIG_VERSION|$TARGET_VERSION|g"` TARGET=`echo $F|sed -e "s|$ORIG_VERSION|$TARGET_VERSION|g"`
svn mv $F $TARGET svn mv $F $TARGET
done done
LIST=`ls debian/*$TARGET_VERSION* debian/control` LIST=`ls debian/*$TARGET_VERSION* debian/control debian/*.install debian/*.links`
for F in $LIST; do for F in $LIST; do
sed -i -e "s|$ORIG_VERSION_2|$TARGET_VERSION_2|g" $F sed -i -e "s|$ORIG_VERSION_2|$TARGET_VERSION_2|g" $F
sed -i -e "s|$ORIG_VERSION|$TARGET_VERSION|g" $F sed -i -e "s|$ORIG_VERSION|$TARGET_VERSION|g" $F