mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
mail-filter/MailScanner: [QA] eend missing argument
The script on the preceding line to upgrade MailScanner configuration may have a non-zero exit code, which we might as well capture. Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
f3fb7a604f
commit
91cbda303e
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -319,7 +319,7 @@ pkg_postinst() {
|
||||
/etc/MailScanner/MailScanner.conf.pre_upgrade.${MY_PV} \
|
||||
/etc/MailScanner/MailScanner.conf.${MY_PV} \
|
||||
> /etc/MailScanner/MailScanner.conf 2> /dev/null
|
||||
eend
|
||||
eend $?
|
||||
else
|
||||
cp /etc/MailScanner/MailScanner.conf.sample \
|
||||
/etc/MailScanner/MailScanner.conf
|
||||
|
||||
Reference in New Issue
Block a user