From 7f6e9b95d12954464e5a6e204862588019a04c3c Mon Sep 17 00:00:00 2001 From: emrekgn Date: Mon, 15 Aug 2016 11:53:19 +0300 Subject: [PATCH] use unsigned changes file while building deb package --- debian/prerm | 4 ++++ scripts/build-ahenk.sh | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/debian/prerm b/debian/prerm index 3e7f89e..b6a35a6 100644 --- a/debian/prerm +++ b/debian/prerm @@ -1 +1,5 @@ +#!/bin/sh +# prerm script for ahenk +# + find /opt/ahenk | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf diff --git a/scripts/build-ahenk.sh b/scripts/build-ahenk.sh index fbaec35..a914070 100755 --- a/scripts/build-ahenk.sh +++ b/scripts/build-ahenk.sh @@ -1,7 +1,8 @@ #!/bin/bash ### -# This script generates Ahenk package (ahenk.deb) +# This script generates Ahenk package (ahenk.deb). +# Make sure you have debhelper & build-essential packages installed! # # Generated file can be found under /tmp/ahenk ### @@ -15,7 +16,7 @@ echo "Project path: $PRJ_ROOT_PATH" # Generate Ahenk packages echo "Generating Ahenk packages..." cd "$PRJ_ROOT_PATH" -dpkg-buildpackage -b +dpkg-buildpackage -b -uc echo "Generated Ahenk packages" EXPORT_PATH=/tmp/ahenk