-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
postinstall/preinstall scripts not being used #132
Comments
having same issue |
I have the same problem. Does anyone know when it stopped working? |
Having the same issue - thanks for the workaround |
Created a PR, but since this project seems more or less inactive you can use my fork: https://github.com/danielbisar/stdeb
Inside the repositories root (at least worked in my case). And install it on the target machine where you want to use it. |
Also experiencing the same issue. @nuclearsandwich any chance that PR could be merged? |
Using stdeb 0.8.5 on Ubuntu 16.04.1
Previously I was able to build a .deb package from my python using bdist_deb with no issues. More recently I noticed that my -postinst and -preinst scripts are no longer being installed. They live in a "debian" directory at the top of my tree where I run:
python setup.py --command-packages=stdeb.command bdist_deb
But when I check the package that results, my custom post/pre install scripts are not being used in the package.
Did something change recently to break this feature? I cant find any documentation on it.
One workaround I found is to run bdist_deb (as above), then manually copy the post/pre install scripts to the deb_dist//debian/ directory and then run "dpkg-buildpkg -rfakeroot -uc -us" in the deb_dist/ directory, but thats redundant because it repackages everything again (with the correct post/pre install scripts though).
The text was updated successfully, but these errors were encountered: