aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <matthias.maier@iwr.uni-heidelberg.de>2013-09-17 00:07:50 +0200
committerMatthias Maier <matthias.maier@iwr.uni-heidelberg.de>2013-09-17 00:08:26 +0200
commit48ce0fc09c7af7259ca727805248c91523e41f39 (patch)
tree8fa27fc82f90e9870dcdd1c3da68040c130993a4
parentAn ebuild for numdiff [1] (diff)
downloadsci-48ce0fc09c7af7259ca727805248c91523e41f39.tar.gz
sci-48ce0fc09c7af7259ca727805248c91523e41f39.tar.bz2
sci-48ce0fc09c7af7259ca727805248c91523e41f39.zip
Add missing "|| die" and improve mv statements
-rw-r--r--dev-util/numdiff/numdiff-5.8.1.ebuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/dev-util/numdiff/numdiff-5.8.1.ebuild b/dev-util/numdiff/numdiff-5.8.1.ebuild
index f176e00db..990726690 100644
--- a/dev-util/numdiff/numdiff-5.8.1.ebuild
+++ b/dev-util/numdiff/numdiff-5.8.1.ebuild
@@ -39,8 +39,6 @@ src_install() {
rm -r "${ED}"/usr/share/locale
#Fix up some wrong installation pathes:
- mv "${ED}"/usr/share/doc/${P}/numdiff/numdiff.html "${ED}"/usr/share/doc/${P}
- mv "${ED}"/usr/share/doc/${P}/numdiff/numdiff.pdf "${ED}"/usr/share/doc/${P}
- mv "${ED}"/usr/share/doc/${P}/numdiff/numdiff.txt.bz2 "${ED}"/usr/share/doc/${P}
- rm -r "${ED}"/usr/share/doc/${P}/numdiff
+ mv "${ED}"/usr/share/doc/${P}/{numdiff/numdiff.{html,pdf,txt*},} || die
+ rm -r "${ED}"/usr/share/doc/${P}/numdiff || die
}