Skip to content
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

Add postinst to DEBIAN #2

Closed
solbero opened this issue May 12, 2017 · 3 comments
Closed

Add postinst to DEBIAN #2

solbero opened this issue May 12, 2017 · 3 comments

Comments

@solbero
Copy link

solbero commented May 12, 2017

There is no included postinst included in the DEBIAN folder. This results in that the files installed by the .deb created by install.sh retain the ownership of the user that created the .deb. All files installed to /usr/bin/ are owned by this user instead of root.

@solbero
Copy link
Author

solbero commented May 12, 2017

Well, this is silly of me. I have used a lot of Linux, but I haven’t really dabbled in packaging. It seems like I just forgot to set the ownership of the folder kodi-openbox and its contents to root before packaging. Makes sense since the files are installed to the root file system.

@solbero solbero changed the title Add postinst and postrm to DEBIAN Add postinst to DEBIAN May 12, 2017
@lufinkey
Copy link
Owner

ah I see what you mean. I'll fix this

@lufinkey
Copy link
Owner

issue is fixed. just install "fakeroot", rebuild the debian package, and install it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants