mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-02 17:48:42 +08:00
Fix the webtorrent-cli recipe
This commit is contained in:
parent
ff0d3d49c6
commit
b584088426
@ -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
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user