Skip to content
Snippets Groups Projects
Commit b5840884 authored by Ribbon's avatar Ribbon :speech_balloon:
Browse files

Fix the webtorrent-cli recipe

parent ff0d3d49
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +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 "#!/usr/bin/env sh \n 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 npx webtorrent-cli" > "${COOKBOOK_STAGE}"/usr/bin/webtorrent-cli
chmod a+x "${COOKBOOK_STAGE}"/usr/bin/webtorrent-cli
"""
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment