Combine a shell script and a zip file into a single executable for deployment

后端 未结 2 757
南笙
南笙 2021-01-06 10:11

I have two files for deployment,

1) deploymentpackage.zip -> It contains the database package with few shell scripts.

2) deployment.sh

2条回答
  •  梦毁少年i
    2021-01-06 10:42

    Write a readme file, and ask your users to chmod the script, then to execute it.

    For security reason I hope there is no way to auto-execute such things...

    Edit: received a vote down because the OP did not like it, thanks a lot :)

提交回复
热议问题