[arch-general] Sourcing /etc/rc.conf in configs and .install scripts

Allan McRae allan at archlinux.org
Tue Nov 12 19:19:34 EST 2013


On 13/11/13 07:41, Karol Blazewicz wrote:
> * core/nfs-utils/nfs-utils.install:
> 
> post_upgrade() {
>   if [ "$(vercmp $2 1.2.0-2)" -lt 0 ]; then
> cat << 'EOM'
>   ==> IMPORTANT NFS UTILS CHANGES:
>   ==> This is a rather important upgrade, you are going to have to
> change config files.
>   ==> /etc/rc.conf daemons changes:
>   ==> Change portmap to rpcbind
>   ==> Change nfslock to nfs-common
>   ==> Change nfsd to nfs-server
>   ==>
>   ==> Extended configuration options for NFS (clients & server) are
> available in:
>   ==> /etc/conf.d/nfs-common
>   ==> /etc/conf.d/nfs-server
>   ==> Please change them to your needs.
> EOM
>   fi
> }

I'd say any package with a multiline output should have a bug filed to
remove it.

A


More information about the arch-general mailing list