diff options
author | Erich Eckner <git@eckner.net> | 2019-11-30 11:14:37 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-11-30 11:14:37 +0100 |
commit | 791e614ddc2931aab9d63d93573cac65900658fd (patch) | |
tree | 7b92b83bf4da76687cb28f686fc25b51ca619ee9 | |
parent | 53bf3353a1bf54fa2d8b23b85b8638adde10d273 (diff) | |
download | archlinuxewe-791e614ddc2931aab9d63d93573cac65900658fd.tar.xz |
courier-mta: put *all* files in /etc into backup=()
-rw-r--r-- | courier-mta/PKGBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/courier-mta/PKGBUILD b/courier-mta/PKGBUILD index 146723372..03c9c7944 100644 --- a/courier-mta/PKGBUILD +++ b/courier-mta/PKGBUILD @@ -13,7 +13,7 @@ pkgname=courier-mta _pkgname=courier pkgver=1.0.9 -pkgrel=5 +pkgrel=6 pkgdesc="IMAP(s)/POP3(s) and SMTP Server with ML-manager, webmail and webconfig" arch=(i686 pentium4 x86_64) license=('GPL2') @@ -24,8 +24,6 @@ makedepends=('pam' 'expect' 'gnupg' 'libldap' 'gamin' 'procps-ng' 'wget') provides=('smtp-server' 'smtp-forwarder' 'imap-server' 'pop3-server' 'courier-imap' 'courier-maildrop') conflicts=('courier-imap' 'smtp-forwarder' 'smtp-server' 'imap-server' 'courier-maildrop' 'ucspi-tcp') options=(!libtool !staticlibs) -# Specify some package files to backup that aren't managed by sysconftool during an upgrade -backup=('etc/courier/aliases/system' 'etc/courier/smtpaccess/default' 'etc/courier/webadmin/password' 'etc/courier/imapd.cnf' 'etc/courier/esmtpd.cnf' 'etc/courier/pop3d.cnf' 'etc/courier/esmtpauthclient') install=courier-mta.install source=(https://downloads.sourceforge.net/project/courier/courier/${pkgver}/courier-${pkgver}.tar.bz2 courier-imapd.service @@ -131,4 +129,11 @@ package() { # hence the binary gets overwritten by the link because Arch bin and sbin are same location install -m 755 "${srcdir}/courier-${pkgver}/courier/imapd" "${pkgdir}/usr/lib/courier/courierimapd" sed -i 's/\/usr\/bin\/imapd/\/usr\/lib\/courier\/courierimapd/' "${pkgdir}/usr/share/imapd" "${pkgdir}/usr/share/imapd-ssl" + + backup=( + $( + cd "$pkgdir" + find etc -type f + ) + ) } |