app: Discord
ingeredients:
script:
- wget https://discordapp.com/api/download?platform=linux&format=tar.gz
- tar zxvf discord*.tar.gz
script:
- cp -r ../Discord/* usr/bin/
- find . -name discord.png -exec cp {} discord.png \;
- cat > Discord.desktop <<EOF
- [Desktop Entry]
- Name=Discord
- StartupWMClass=discord
- Comment=All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and phone.
- GenericName=Internet Messenger
- Exec=Discord %u
- Icon=discord.png
- Type=Application
- StartupNotify=true
- Categories=Network;InstantMessaging;
- EOF
Gives me this error:
[...]
+ sed s/_=/+=/g
+ sed -i -e 's|^_script+=("||g' /tmp/recipe_script
+ sed -i -e 's|")$||g' /tmp/recipe_script
+ bash -ex /tmp/recipe_script
+ cp -r '../Discord/*' usr/bin/
cp: Aufruf von stat für '../Discord/*' nicht möglich: Datei oder Verzeichnis nicht gefunden
How should the copy mechanism be aligned for it to work?
Trying to build Discord with this .yml-file
Gives me this error:
How should the copy mechanism be aligned for it to work?