forked from Packaging/Station
Update version to 1.1.0
parent
09d65ff192
commit
c55d49431b
@ -1,13 +1,11 @@
|
||||
#!/bin/bash
|
||||
# $1 is the binary location, $2 is the arch, $3 is the svg icon
|
||||
mkdir tmp
|
||||
mkdir out
|
||||
dpkg-deb -R template.deb tmp
|
||||
sed -i '/Architecture:/d' tmp/DEBIAN/control
|
||||
echo "Architecture: $2" >> tmp/DEBIAN/control
|
||||
rm -rf tmp/usr/lib/notepost
|
||||
sed -i '/Architecture:/d' debian/DEBIAN/control
|
||||
echo "Architecture: $2" >> debian/DEBIAN/control
|
||||
rm -rf debian/usr/lib/notepost
|
||||
mv "$1com.netsyms.NotePostApp" "$1notepost"
|
||||
mkdir -p tmp/usr/lib
|
||||
rsync -rv "$1" tmp/usr/lib/notepost
|
||||
cp "$3" tmp/usr/lib/notepost/logo.svg
|
||||
dpkg-deb -b tmp "out/notepost_$2.deb"
|
||||
mkdir -p debian/usr/lib
|
||||
rsync -rv "$1" debian/usr/lib/notepost
|
||||
cp "$3" debian/usr/lib/notepost/logo.svg
|
||||
dpkg-deb -b debian "out/notepost_$2.deb"
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue