summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Winston <amynka@gentoo.org>2015-10-24 15:57:24 +0200
committerAmy Winston <amynka@gentoo.org>2015-10-24 15:57:24 +0200
commit1471d440792a94bb6937315bf9b961503451e107 (patch)
tree196e5dd68cc3a7726cad7fc39fd34d657fdfb4dd /sci-geosciences/grass
parentnet-analyzer/metasploit: update metasploit_data_models dep (diff)
downloadgentoo-1471d440792a94bb6937315bf9b961503451e107.tar.gz
gentoo-1471d440792a94bb6937315bf9b961503451e107.tar.bz2
gentoo-1471d440792a94bb6937315bf9b961503451e107.zip
sci-geosciences/grass: fix icon location, add die. By wraeth.
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'sci-geosciences/grass')
-rw-r--r--sci-geosciences/grass/grass-7.0.1-r2.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-geosciences/grass/grass-7.0.1-r2.ebuild b/sci-geosciences/grass/grass-7.0.1-r2.ebuild
index b211da2574a4..00834479f768 100644
--- a/sci-geosciences/grass/grass-7.0.1-r2.ebuild
+++ b/sci-geosciences/grass/grass-7.0.1-r2.ebuild
@@ -186,7 +186,7 @@ src_install() {
PREFIX="${D}usr/" \
install
- pushd "${D}usr/${MY_PM}" &> /dev/null
+ pushd "${D}usr/${MY_PM}" &> /dev/null || die
# fix docs
dodoc AUTHORS CHANGES
@@ -207,7 +207,7 @@ src_install() {
mv "${D}usr/share/locale/pt_br" "${D}usr/share/locale/pt_BR" || die
fi
- popd &> /dev/null
+ popd &> /dev/null || die
# place libraries where they belong
mv "${D}usr/${MY_PM}/lib/" "${D}usr/$(get_libdir)/" || die
@@ -238,7 +238,7 @@ src_install() {
local GUI="-gui"
[[ ${WX_BUILD} == yes ]] && GUI="-wxpython"
make_desktop_entry "/usr/bin/${MY_PM} ${GUI}" "${PN}" "${PN}-48x48" "Science;Education"
- doicon gui/icons/${PN}-48x48.png
+ doicon -s 48 gui/icons/${PN}-48x48.png
fi
# install .pc file so other apps know where to look for grass