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