@ -1,7 +1,7 @@
#!/bin/bash
# $1 is the binary location, $2 is the arch, $3 is the svg icon
fakeroot sh -c '
mkdir tmp
mkdir out
dpkg-deb -R template.deb tmp
sed -i '/Architecture:/d' tmp/DEBIAN/control
echo "Architecture: $2" >> tmp/DEBIAN/control
@ -9,4 +9,3 @@ fakeroot sh -c '
rsync -rv "$1" tmp/usr/lib/nickelbridge
cp "$3" tmp/usr/lib/nickelbridge/logo.svg
dpkg-deb -b tmp "out/nickelbridge_1.0.0_$2.deb"
'