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

Allow specification of license in settings file for linux deb files #204

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

Conversation

josh-richardson
Copy link
Contributor

@josh-richardson josh-richardson commented Jul 5, 2020

Currently, output from dpkg --info AppName.deb specifies that the license of the package to be installed is unknown. This small change will allow users to specify the license in the deb file, based on a variable in a config file.

A user of fbs would add the line "license": "GPL" or similar in their linux.json to use this feature.

@mherrmann
Copy link
Owner

Thanks! I haven't tested it, but from reading the code could it be that fbs installer fails on Linux if you don't have license set in a settings file such as linux.json? If yes, then I believe we should add "license": "" to _defaults/.../linux.json.

@mherrmann mherrmann closed this Jul 13, 2020
@mherrmann mherrmann reopened this Jul 13, 2020
@josh-richardson
Copy link
Contributor Author

Thanks! I haven't tested it, but from reading the code could it be that fbs installer fails on Linux if you don't have license set in a settings file such as linux.json? If yes, then I believe we should add "license": "" to _defaults/.../linux.json.

We are checking here that license exists in the JSON, but there is the situation whereby license exists in the file, but has not yet been specified, this may cause a failure I suppose. I'll update this PR to be a little more robust.

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.

3 participants