diff --git a/recipes/wip/finance/bitcoin/electrum/recipe.toml b/recipes/wip/finance/bitcoin/electrum/recipe.toml index cff7ca173cda1127a820e3e601089feff7b2e32b..fe4aea5767b131f1366d6f6f041fab545e6331bd 100644 --- a/recipes/wip/finance/bitcoin/electrum/recipe.toml +++ b/recipes/wip/finance/bitcoin/electrum/recipe.toml @@ -7,5 +7,6 @@ script = """ mkdir -pv "${COOKBOOK_STAGE}"/usr/share/electrum mkdir -pv "${COOKBOOK_STAGE}"/usr/bin cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}"/usr/share/electrum -echo "python3 /usr/share/electrum/run_electrum" > "${COOKBOOK_STAGE}"/usr/bin/electrum +echo "#!/usr/bin/env sh \n python3 /usr/share/electrum/run_electrum" > "${COOKBOOK_STAGE}"/usr/bin/electrum +chmod a+x "${COOKBOOK_STAGE}"/usr/bin/electrum """ diff --git a/recipes/wip/games/rts/mindustry/recipe.toml b/recipes/wip/games/rts/mindustry/recipe.toml index a46e88634393bb914489d423b4af802b9ef06dfe..aaf90c745d2611749f79bbb41622122da23f30c0 100644 --- a/recipes/wip/games/rts/mindustry/recipe.toml +++ b/recipes/wip/games/rts/mindustry/recipe.toml @@ -7,5 +7,6 @@ wget https://github.com/Anuken/Mindustry/releases/download/v146/Mindustry.jar mkdir -pv "${COOKBOOK_STAGE}"/usr/share/mindustry mkdir -pv "${COOKBOOK_STAGE}"/usr/bin cp -rv "${COOKBOOK_SOURCE}"/Mindustry.jar "${COOKBOOK_STAGE}"/usr/share/mindustry -echo "java -jar /usr/share/mindustry/Mindustry.jar" > "${COOKBOOK_STAGE}"/usr/bin/mindustry +echo "#!/usr/bin/env sh \n java -jar /usr/share/mindustry/Mindustry.jar" > "${COOKBOOK_STAGE}"/usr/bin/mindustry +chmod a+x "${COOKBOOK_STAGE}"/usr/bin/mindustry """ diff --git a/recipes/wip/net/bittorrent/webtorrent-cli/recipe.toml b/recipes/wip/net/bittorrent/webtorrent-cli/recipe.toml index bc9025fdef4542ddfaf862ed56c381ac42b11fff..17a33dc42d5fc98ee90113e938024f930e054cac 100644 --- a/recipes/wip/net/bittorrent/webtorrent-cli/recipe.toml +++ b/recipes/wip/net/bittorrent/webtorrent-cli/recipe.toml @@ -8,5 +8,6 @@ script = """ mkdir -pv "${COOKBOOK_STAGE}"/usr/share/webtorrent-cli mkdir -pv "${COOKBOOK_STAGE}"/usr/bin cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}"/usr/share/webtorrent-cli -echo "cd /usr/share/webtorrent-cli \n npm run" > "${COOKBOOK_STAGE}"/usr/bin/webtorrent-cli +echo "#!/usr/bin/env sh \n cd /usr/share/webtorrent-cli \n npm run" > "${COOKBOOK_STAGE}"/usr/bin/webtorrent-cli +chmod a+x "${COOKBOOK_STAGE}"/usr/bin/webtorrent-cli """ diff --git a/recipes/wip/net/download/yt-dlp/recipe.toml b/recipes/wip/net/download/yt-dlp/recipe.toml index 2a3ff062b644eb8b1c1d837ed6e133b44f46359d..cdeeecf176061693010ae19b2829b8b5f8197141 100644 --- a/recipes/wip/net/download/yt-dlp/recipe.toml +++ b/recipes/wip/net/download/yt-dlp/recipe.toml @@ -8,6 +8,7 @@ script = """ mkdir -pv "${COOKBOOK_STAGE}"/usr/share/yt-dlp mkdir -pv "${COOKBOOK_STAGE}"/usr/bin cp -rv "${COOKBOOK_SOURCE}"/* "${COOKBOOK_STAGE}"/usr/share/yt-dlp -echo "/usr/share/yt-dlp/yt-dlp.sh" > "${COOKBOOK_STAGE}"/usr/bin/yt-dlp +echo "#!/usr/bin/env sh \n /usr/share/yt-dlp/yt-dlp.sh" > "${COOKBOOK_STAGE}"/usr/bin/yt-dlp chmod a+x "${COOKBOOK_STAGE}"/usr/share/yt-dlp/yt-dlp.sh +chmod a+x "${COOKBOOK_STAGE}"/usr/bin/yt-dlp """