voip/umurmur: use edo for chmod/chown

This commit is contained in:
hasufell 2016-02-17 02:18:02 +01:00
parent 76315ea38d
commit 1e7182726f
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020

View File

@ -51,8 +51,8 @@ src_install() {
# Some permissions are adjusted as the config may contain a server
# password, and /etc/umurmur will typically contain the cert and the
# key used to sign it, which are read after priveleges are dropped.
chmod 0750 "${IMAGE%/}/${confdir}"
chown -R root:umurmur "${IMAGE%/}/${confdir}"
chmod 0640 "${IMAGE%/}/${confdir}"/umurmur.conf
edo chmod 0750 "${IMAGE%/}/${confdir}"
edo chown -R root:umurmur "${IMAGE%/}/${confdir}"
edo chmod 0640 "${IMAGE%/}/${confdir}"/umurmur.conf
}