mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
updates/1.52.1.sh: Only set BACKUPHOUR if missing from config
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
parent
3742689ea5
commit
16e5de770b
6
updates/1.52.1.sh
Normal file
6
updates/1.52.1.sh
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
source /usr/local/etc/library.sh
|
||||||
|
|
||||||
|
jq '.params[].id' "$CFGDIR/nc-backup-auto.cfg" | grep BACKUPHOUR || \
|
||||||
|
set_app_param nc-backup-auto BACKUPHOUR 3
|
||||||
Loading…
x
Reference in New Issue
Block a user