aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKylie McClain <somasis@exherbo.org>2016-03-16 01:12:02 -0400
committerKylie McClain <somasis@exherbo.org>2016-03-16 01:20:49 -0400
commit8899290e24f09f2992317065500e56682d2335ec (patch)
treeaf031cbeca0576db200a06fee07d9d4746ccecd2
parent5a507d358b247b29e76297868527dc9fbea59115 (diff)
downloadbeginning-scripts-8899290e24f09f2992317065500e56682d2335ec.tar.gz
beginning-scripts-8899290e24f09f2992317065500e56682d2335ec.tar.xz
beginning-scripts-8899290e24f09f2992317065500e56682d2335ec.zip
cronie, vixie-cron: fix *_exists when both are present
-rw-r--r--cronie2
-rw-r--r--vixie-cron2
2 files changed, 2 insertions, 2 deletions
diff --git a/cronie b/cronie
index 7c64b52..fdd82d2 100644
--- a/cronie
+++ b/cronie
@@ -4,7 +4,7 @@ CRONIE_ARGS=${CRONIE_ARGS:-}
# vixie-cron uses `cron`, cronie is `crond`, busybox uses links
cronie_exists() {
- prog_exists crond && ! prog_exists cron && [[ "$(readlink -f $(type -fPp crond))" != */busybox ]]
+ prog_exists crond && [[ "$(readlink -f $(type -fPp crond))" != */busybox ]]
}
cronie_provides() {
diff --git a/vixie-cron b/vixie-cron
index e18da8d..27e1628 100644
--- a/vixie-cron
+++ b/vixie-cron
@@ -4,7 +4,7 @@ VIXIE_CRON_ARGS=${VIXIE_CRON_ARGS:-}
# vixie-cron uses `cron`, cronie is `crond`, busybox uses links
vixie-cron_exists() {
- ! prog_exists crond && prog_exists cron && [[ "$(readlink -f $(type -fPp crontab))" != */busybox ]]
+ prog_exists cron
}
vixie-cron_provides() {