generated from general-packages/pika-pkg-template
Update fetch.sh
This commit is contained in:
parent
4860b64bbf
commit
348d1f81f8
4
fetch.sh
4
fetch.sh
@ -32,7 +32,7 @@ do
|
|||||||
then
|
then
|
||||||
if [[ $BIN_VERSION == $TARGET_VERSION ]]
|
if [[ $BIN_VERSION == $TARGET_VERSION ]]
|
||||||
then
|
then
|
||||||
cp -vf ./*.deb ./output/
|
mv -vf ./*.deb ./output/
|
||||||
else
|
else
|
||||||
for i in ./*.deb
|
for i in ./*.deb
|
||||||
do
|
do
|
||||||
@ -40,7 +40,7 @@ do
|
|||||||
dpkg-deb -R $i $i-tmp
|
dpkg-deb -R $i $i-tmp
|
||||||
sed -i "s#$BIN_VERSION#$TARGET_VERSION#g" $i-tmp/DEBIAN/control
|
sed -i "s#$BIN_VERSION#$TARGET_VERSION#g" $i-tmp/DEBIAN/control
|
||||||
dpkg-deb -b $i-tmp $i-fixed.deb
|
dpkg-deb -b $i-tmp $i-fixed.deb
|
||||||
cp -vf ./*-fixed.deb ./output/
|
mv -vf ./*-fixed.deb ./output/
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user