From adbf2d78c406a5bdf417b62419bcbb82e506a85d Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sat, 9 Jun 2018 14:57:09 -0600 Subject: [PATCH] Remove fakeroot --- scripts/debian_build.sh | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/scripts/debian_build.sh b/scripts/debian_build.sh index af067b6..9915f3b 100644 --- a/scripts/debian_build.sh +++ b/scripts/debian_build.sh @@ -1,12 +1,11 @@ #!/bin/bash # $1 is the binary location, $2 is the arch, $3 is the svg icon -fakeroot sh -c ' - mkdir tmp - dpkg-deb -R template.deb tmp - sed -i '/Architecture:/d' tmp/DEBIAN/control - echo "Architecture: $2" >> tmp/DEBIAN/control - rm -rf tmp/usr/lib/nickelbridge - 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" -' +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/nickelbridge +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"