add pre-remove script to handle python cache files

This commit is contained in:
emre.akkaya 2016-07-18 15:31:22 +03:00
parent 80beb37e08
commit a6c93cc427
3 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View file

@ -68,3 +68,4 @@ target/
#Ipython Notebook
.ipynb_checkpoints
*.substvars

2
debian/changelog vendored
View file

@ -2,4 +2,4 @@ ahenk (1.0) unstable; urgency=low
* Ahenk core app
-- ismail.basaran <ismail.basaran@tubitak.gov.tr> Thu, 10 Dec 2015 22:21:04 +0200
-- volkansahin <volkan.sahin@agem.com.tr> Thu, 10 Dec 2015 22:21:04 +0200

1
debian/prerm vendored Normal file
View file

@ -0,0 +1 @@
find /opt/ahenk | grep -E "(__pycache__|\.pyc|\.pyo$)" | xargs rm -rf