mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 18:50:12 +01:00
Fix crontab command for postinstall
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
0e5ada66d1
commit
9c2e2e8fe4
@ -261,7 +261,7 @@ gather_smtp_relay_data() {
|
|||||||
|
|
||||||
make_cron_entries() {
|
make_cron_entries() {
|
||||||
|
|
||||||
crontab -u "$PILERUSER" -l > "$CRON_ORIG"
|
crontab -u "$PILERUSER" -l || true > "$CRON_ORIG"
|
||||||
|
|
||||||
if grep PILERSTART "$CRON_ORIG" > /dev/null 2>&1 != 0; then
|
if grep PILERSTART "$CRON_ORIG" > /dev/null 2>&1 != 0; then
|
||||||
cat /dev/null > "$CRON_ORIG"
|
cat /dev/null > "$CRON_ORIG"
|
||||||
|
Loading…
Reference in New Issue
Block a user