games-strategy/general: add || die

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
Vitaly Zdanevich
2024-03-27 22:28:14 +04:00
parent db23a87f9e
commit 35df0043f9

View File

@@ -32,7 +32,7 @@ src_install() {
conty='conty-1.25.2'
echo "cd /opt/$PN; $conty wine $PN; cd -" > "$ED/usr/bin/$PN"
echo "cd /opt/$PN; $conty wine $PN; cd -" > "$ED/usr/bin/$PN" || die
fperms +x "/usr/bin/$PN"
# I tried this but on run error: "Problems during decoding OGG files" -
# because I need to run from the directory of the game,