-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Cannot pass arguments to post-install shell script (--after-install) #1161
Comments
The In your case, what you probably need to do is create a short script that invokes whatever program you need with whatever arguments. For example: after.sh
|
Jordan, Thank you! I am attempting to circumvent the issue and believe that adding Sincerely, Matthew E. RubioPurdue University On Jul 24, 2016 01:31, "Jordan Sissel" notifications@github.com wrote:
|
Hi Jason, there are some budding attempts to improve the docs and patches
are very welcome!
…On Wed, 28 Jun 2017, 2:13 PM Jason Danielson, ***@***.***> wrote:
it looks like template-scripts and template-value might be the way.
however the --help links to a non-existent page (
https://github.com/jordansissel/fpm/wiki/Script-Templates ) and the
documentation for this tool is abysmal.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1161 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AARCJeUCBX3cbdeyx4UviBMW0C3P1xLbks5sIba7gaJpZM4JQRVM>
.
|
I would like to know if there is an issue here. I want to add an input argument to my --after-install shell script. fpm seems to think the argument (which is currently separated by a whitespace) is something to package, unfortunately.
I usually get the following error message:
Invalid package configuration: Cannot package the path '[argument]', does it exist? {:level=>:error}
The argument is a path like /home/matterubio/Documents. The idea is to pass this into the script, which starts currently in the root directory on my Ubuntu 14.04. I need this script, though, to start in the destination directory of the fpm call.
Many thanks in advance!
The text was updated successfully, but these errors were encountered: