summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGöktürk Yüksek <gokturk@gentoo.org>2016-05-21 20:54:27 -0400
committerIan Delaney <idella4@gentoo.org>2016-05-23 09:45:26 +0800
commit719f542d83735ff6ee179ec5a296920464dad2ac (patch)
treeecb2cc64d642825a3de7df28f8814f1ad5225bdd /games-rpg/runescape-launcher
parentwww-apps/bugzilla: Ebuild Cleanup to vns. 4.4.12, 5.0.3 (diff)
downloadgentoo-719f542d83735ff6ee179ec5a296920464dad2ac.tar.gz
gentoo-719f542d83735ff6ee179ec5a296920464dad2ac.tar.bz2
gentoo-719f542d83735ff6ee179ec5a296920464dad2ac.zip
games-rpg/runescape-launcher: add missing die statements
Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1514 Signed-off-by: Ian Delaney <idella4@gentoo.org>
Diffstat (limited to 'games-rpg/runescape-launcher')
-rw-r--r--games-rpg/runescape-launcher/runescape-launcher-2.2.2.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/games-rpg/runescape-launcher/runescape-launcher-2.2.2.ebuild b/games-rpg/runescape-launcher/runescape-launcher-2.2.2.ebuild
index 10267d67d8e6..1ba7f739b687 100644
--- a/games-rpg/runescape-launcher/runescape-launcher-2.2.2.ebuild
+++ b/games-rpg/runescape-launcher/runescape-launcher-2.2.2.ebuild
@@ -35,13 +35,13 @@ RDEPEND="
src_prepare() {
# Fix path in launcher script
- sed -i "s:/usr/share/games/$PN:/opt/$PN:" usr/bin/$PN
+ sed -i "s:/usr/share/games/$PN:/opt/$PN:" usr/bin/$PN || die
# Add missing trailing semicolon to .desktop MimeType entry
- sed -i '/MimeType=/{/;$/!{s/$/;/}}' usr/share/applications/${PN}.desktop
+ sed -i '/MimeType=/{/;$/!{s/$/;/}}' usr/share/applications/${PN}.desktop || die
# Fix path to launcher script
- sed -i "s:/usr/bin/$PN:/opt/bin/$PN:" usr/share/applications/${PN}.desktop
+ sed -i "s:/usr/bin/$PN:/opt/bin/$PN:" usr/share/applications/${PN}.desktop || die
xdg_src_prepare