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

Reference .sh files in PreInstallScript and PostInstall .csproj for RPM generation instead of inline bash commands #223

Open
ar1950 opened this issue May 26, 2022 · 0 comments

Comments

@ar1950
Copy link

ar1950 commented May 26, 2022

So I see this comment: #163

I would basically like to do

>     <PreInstallScript>
>       <![CDATA[
> #the bash preinst script
>       ]]>
>     </PreInstallScript>
>     <PostInstallScript>
>       <![CDATA[
> #the bash postinst script
>       ]]>
>     </PostInstallScript>

but with my script files referenced instead of hardcoded values

>     <PreInstallScript>
>       <![CDATA[
>  ./directory/PreInstallScript.sh
>       ]]>
>     </PreInstallScript>
>     <PostInstallScript>
>       <![CDATA[
>  ./directory/PostInstallScript.sh
>       ]]>
>     </PostInstallScript>

so I don't have to worry about breaking anything by turning the entire .csproj into LF endings. Is this possible?

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

1 participant