This commit is contained in:
Volkan Şahin 2016-08-15 15:06:07 +03:00
commit 14c6a600d5
2 changed files with 7 additions and 2 deletions

4
debian/prerm vendored
View file

@ -1 +1,5 @@
#!/bin/sh
# prerm script for ahenk
#
find /opt/ahenk | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf find /opt/ahenk | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf

View file

@ -1,7 +1,8 @@
#!/bin/bash #!/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 # Generated file can be found under /tmp/ahenk
### ###
@ -15,7 +16,7 @@ echo "Project path: $PRJ_ROOT_PATH"
# Generate Ahenk packages # Generate Ahenk packages
echo "Generating Ahenk packages..." echo "Generating Ahenk packages..."
cd "$PRJ_ROOT_PATH" cd "$PRJ_ROOT_PATH"
dpkg-buildpackage -b dpkg-buildpackage -b -uc
echo "Generated Ahenk packages" echo "Generated Ahenk packages"
EXPORT_PATH=/tmp/ahenk EXPORT_PATH=/tmp/ahenk