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 shebang lines to all debian packaging scripts #95

Open
wants to merge 1 commit into
base: mainline
Choose a base branch
from

Conversation

danielhodder
Copy link

Pretty much the same as #25

Add a shbang using /bin/sh to all the debian scripts. Installing the session-manager-plugin under the docker-buildkit QEMU build emulation fails without this since it tries to interpret the scripts as binaries, which they are not. Adding the shbang line makes the interpreter correctly understand these are shell scripts and run them under the shell, rather than as a binary.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@encron
Copy link

encron commented Jul 2, 2024

Ran into the same issue during docker build. Had to resort to unpacking the .deb file, adding the shebang lines and then repacking and installing to work around it. Would be great to have this simple fix merged!

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

Successfully merging this pull request may close these issues.

2 participants