app-misc/task: add missing die.
authorPatrice Clement <monsieurp@gentoo.org>
Sun, 8 Jan 2017 21:59:53 +0000 (22:59 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Sun, 8 Jan 2017 21:59:53 +0000 (22:59 +0100)
Package-Manager: portage-2.3.0

app-misc/task/task-2.5.1-r1.ebuild

index 0d8b558bd2bdf0ce4b7d4a6bf06109d032550d82..9136bbc52ab8f4c323ad03dc48a3de90257603fa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -43,17 +43,17 @@ src_install() {
 
        newbashcomp scripts/bash/task.sh task
 
-       if use vim-syntax ; then
-               rm scripts/vim/README
+       if use vim-syntax; then
+               rm scripts/vim/README || die
                insinto /usr/share/vim/vimfiles
                doins -r scripts/vim/*
        fi
 
-       if use zsh-completion ; then
+       if use zsh-completion; then
                insinto /usr/share/zsh/site-functions
                doins scripts/zsh/*
        fi
 
-       exeinto /usr/share/${PN}/scripts
+       exeinto "/usr/share/${PN}/scripts"
        doexe scripts/add-ons/*
 }