summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2023-01-27 18:08:52 -0600
committerWilliam Hubbs <williamh@gentoo.org>2023-01-27 18:08:52 -0600
commit0ae2af9e3288d4e8519d42ff7caf5eb621ce2e69 (patch)
tree8f6a07b98804f14a457c86f0d937bce01f9b2e5f /sys-apps
parentdev-libs/libltdl: add LFS support (diff)
downloadgentoo-0ae2af9e3288d4e8519d42ff7caf5eb621ce2e69.tar.gz
gentoo-0ae2af9e3288d4e8519d42ff7caf5eb621ce2e69.tar.bz2
gentoo-0ae2af9e3288d4e8519d42ff7caf5eb621ce2e69.zip
sys-apps/baselayout: typo fix
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/baselayout/baselayout-2.11.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/baselayout/baselayout-2.11.ebuild b/sys-apps/baselayout/baselayout-2.11.ebuild
index 481c65c7b9c3..845f7f7a8dfb 100644
--- a/sys-apps/baselayout/baselayout-2.11.ebuild
+++ b/sys-apps/baselayout/baselayout-2.11.ebuild
@@ -23,11 +23,11 @@ RDEPEND="!sys-apps/baselayout-prefix"
pkg_pretend() {
local stop=
- if [[ ! -L ${EROOT}/var/run && -d ${EROOT}/var/run ]]; then
+ if [[ ! -L ${EROOT}/var/run ]] && [[ -d ${EROOT}/var/run ]]; then
eerror "${EROOT}/var/run must be a symlink to ${EROOT}/run"
stop=1
fi
- if [[ ! -L ${EROOT}/var/lock && -d ${EROOT}/var/lock ]]; then
+ if [[ ! -L ${EROOT}/var/lock ]] && [[ -d ${EROOT}/var/lock ]]; then
eerror "${EROOT}/var/lock must be a symlink to ${EROOT}/run/lock"
stop=1
fi