mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-25 01:19:42 +02:00
use the original bz2 file as the orig.tar.bz2, do not repackage it,
since the upstream file use bz2 as the package method. Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
parent
29778e8f81
commit
afa0c1b5f2
9
debian/get-orig-source.sh
vendored
9
debian/get-orig-source.sh
vendored
@ -8,14 +8,7 @@ set -e
|
|||||||
|
|
||||||
: ${VERSION=201007}
|
: ${VERSION=201007}
|
||||||
|
|
||||||
mkdir -p debian-orig-source
|
|
||||||
trap 'rm -fr debian-orig-source xburst-tools_${VERSION}.tar.bz2 || exit 1' EXIT INT TERM
|
|
||||||
|
|
||||||
[ -f xburst-tools_${VERSION}.tar.bz2 ] || \
|
[ -f xburst-tools_${VERSION}.tar.bz2 ] || \
|
||||||
wget http://projects.qi-hardware.com/media/upload/xburst-tools/files/xburst-tools_${VERSION}.tar.bz2
|
wget http://projects.qi-hardware.com/media/upload/xburst-tools/files/xburst-tools_${VERSION}.tar.bz2
|
||||||
|
|
||||||
tar -jxf xburst-tools_${VERSION}.tar.bz2 -C debian-orig-source
|
mv xburst-tools_${VERSION}.tar.bz2 ../xburst-tools_${VERSION}.orig.tar.bz2
|
||||||
rm -rf debian-orig-source/debian
|
|
||||||
cd debian-orig-source && tar -czf ../../xburst-tools_${VERSION}.orig.tar.gz . && cd ..
|
|
||||||
|
|
||||||
rm -fr debian-orig-source xburst-tools_${VERSION}.tar.bz2
|
|
||||||
|
Loading…
Reference in New Issue
Block a user