summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2015-10-12 17:30:28 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2015-10-12 17:32:11 -0500
commit6e15b6e72f21c989cf9e084ce83b310a43e7454c (patch)
treeb359905f39fae3b3c04a919b80a613941442befb /www-apps/postfixadmin
parentnet-wireless/ubertooth net-wireless/kismet-ubertooth net-libs/libbtbb: versio... (diff)
downloadgentoo-6e15b6e72f21c989cf9e084ce83b310a43e7454c.tar.gz
gentoo-6e15b6e72f21c989cf9e084ce83b310a43e7454c.tar.bz2
gentoo-6e15b6e72f21c989cf9e084ce83b310a43e7454c.zip
www-apps/postfixadmin: adding die
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'www-apps/postfixadmin')
-rw-r--r--www-apps/postfixadmin/postfixadmin-2.3.8.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/www-apps/postfixadmin/postfixadmin-2.3.8.ebuild b/www-apps/postfixadmin/postfixadmin-2.3.8.ebuild
index 543a347befb1..6c16e9920ed9 100644
--- a/www-apps/postfixadmin/postfixadmin-2.3.8.ebuild
+++ b/www-apps/postfixadmin/postfixadmin-2.3.8.ebuild
@@ -53,7 +53,7 @@ src_install() {
fperms 770 /var/spool/vacation/vacation.pl-${SLOT}
dodoc VIRTUAL_VACATION/FILTER_README
newdoc VIRTUAL_VACATION/INSTALL.TXT VIRTUAL_VACATION_INSTALL.TXT
- rm -r VIRTUAL_VACATION/{vacation.pl,INSTALL.TXT,tests,FILTER_README}
+ rm -r VIRTUAL_VACATION/{vacation.pl,INSTALL.TXT,tests,FILTER_README} || die
fi
insinto /usr/share/doc/${PF}/
@@ -80,7 +80,7 @@ pkg_postinst() {
chown vacation:vacation "${ROOT}"/var/spool/vacation/
einfo "/var/spool/vacation/vacation.pl symlink was updated to:"
einfo "/var/spool/vacation/vacation.pl-${SLOT}"
- ln -sf "${ROOT}"/var/spool/vacation/vacation.pl{-${SLOT},}
+ ln -sf "${ROOT}"/var/spool/vacation/vacation.pl{-${SLOT},} || die
fi
}
@@ -90,7 +90,7 @@ pkg_postrm() {
if [[ ! -e "${ROOT}"/var/spool/vacation/vacation.pl ]] &&
path_exists "${ROOT}"/var/spool/vacation/vacation.pl-*; then
ln -s $(LC_ALL=C ls -1 /var/spool/vacation/vacation.pl-* | tail -n1) \
- "${ROOT}"/var/spool/vacation/vacation.pl
+ "${ROOT}"/var/spool/vacation/vacation.pl || die
ewarn "/var/spool/vacation/vacation.pl was updated to point on most"
ewarn "recent verion, but please, do your own checks"
fi