summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-08-11 13:19:55 +0200
committerDavid Seifert <soap@gentoo.org>2019-08-11 13:19:55 +0200
commitf4dddef54185b157e38434cd482afef2e1b2ae42 (patch)
tree9117b11c8d23e169db1a1d4cb39c223326a2393a /net-fs/netatalk
parentnet-fs/autofs: [QA] Fix missing trailing slash (diff)
downloadgentoo-f4dddef54185b157e38434cd482afef2e1b2ae42.tar.gz
gentoo-f4dddef54185b157e38434cd482afef2e1b2ae42.tar.bz2
gentoo-f4dddef54185b157e38434cd482afef2e1b2ae42.zip
net-fs/netatalk: [QA] Fix missing trailing slash
Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-fs/netatalk')
-rw-r--r--net-fs/netatalk/netatalk-3.1.12.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-fs/netatalk/netatalk-3.1.12.ebuild b/net-fs/netatalk/netatalk-3.1.12.ebuild
index f5cb53b7a12d..a6adead6ef87 100644
--- a/net-fs/netatalk/netatalk-3.1.12.ebuild
+++ b/net-fs/netatalk/netatalk-3.1.12.ebuild
@@ -144,11 +144,11 @@ pkg_postinst() {
for v in ${REPLACING_VERSIONS}; do
if [[ $(ver_test ${v} -lt 3) ]]; then
for fle in afp_signature.conf afp_voluuid.conf; do
- if [[ -f "${ROOT}"etc/netatalk/${fle} ]]; then
- if [[ ! -f "${ROOT}"var/lib/netatalk/${fle} ]]; then
+ if [[ -f "${ROOT}"/etc/netatalk/${fle} ]]; then
+ if [[ ! -f "${ROOT}"/var/lib/netatalk/${fle} ]]; then
mv \
- "${ROOT}"etc/netatalk/${fle} \
- "${ROOT}"var/lib/netatalk/
+ "${ROOT}"/etc/netatalk/${fle} \
+ "${ROOT}"/var/lib/netatalk/
fi
fi
done