Skip to content

Commit

Permalink
dont fail removing cronfile
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Nov 7, 2018
1 parent ac8aa1c commit 1b25141
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 12 deletions.
8 changes: 5 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@

[v0.66.1](https://github.com/nextcloud/nextcloudpi/commit/4189f1f) (2018-11-04) nc-info: speedup
[v0.66.2](https://github.com/nextcloud/nextcloudpi/commit/74ce141) (2018-11-06) dont fail removing cronfile

[v0.66.0](https://github.com/nextcloud/nextcloudpi/commit/c36e794) (2018-11-04) add nc-hdd-monitor
[v0.66.1 ](https://github.com/nextcloud/nextcloudpi/commit/089bebb) (2018-11-04) nc-info: speedup

[v0.65.0 ](https://github.com/nextcloud/nextcloudpi/commit/ab65f41) (2018-11-03) add nc-test-hdd
[v0.66.0 ](https://github.com/nextcloud/nextcloudpi/commit/3cd1cd5) (2018-11-04) add nc-hdd-monitor

[v0.65.0 ](https://github.com/nextcloud/nextcloudpi/commit/6138183) (2018-11-03) add nc-test-hdd

[v0.64.12](https://github.com/nextcloud/nextcloudpi/commit/5e7f3da) (2018-11-03) docker: fix provisioning on a stopped the container

Expand Down
2 changes: 1 addition & 1 deletion etc/ncp-config.d/DDNS_freeDNS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ install()
configure()
{
[[ $ACTIVE_ != "yes" ]] && {
rm /etc/cron.d/freeDNS
rm -f /etc/cron.d/freeDNS
service cron restart
echo "FreeDNS client is disabled"
return 0
Expand Down
2 changes: 1 addition & 1 deletion etc/ncp-config.d/nc-autoupdate-nc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ VERSION=14.0.3
configure()
{
[[ "$ACTIVE_" != "yes" ]] && {
rm /etc/cron.daily/ncp-autoupdate-nc
rm -f /etc/cron.daily/ncp-autoupdate-nc
echo "automatic Nextcloud updates disabled"
return 0
}
Expand Down
2 changes: 1 addition & 1 deletion etc/ncp-config.d/nc-autoupdate-ncp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ DESCRIPTION="Automatically apply NextCloudPi updates"
configure()
{
[[ $ACTIVE_ != "yes" ]] && {
rm /etc/cron.daily/ncp-autoupdate
rm -f /etc/cron.daily/ncp-autoupdate
echo "automatic NextCloudPi updates disabled"
return 0
}
Expand Down
2 changes: 1 addition & 1 deletion etc/ncp-config.d/nc-backup-auto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ DESCRIPTION="Periodic backups"
configure()
{
[[ $ACTIVE_ != "yes" ]] && {
rm /etc/cron.d/ncp-backup-auto
rm -f /etc/cron.d/ncp-backup-auto
service cron restart
echo "automatic backups disabled"
return 0
Expand Down
2 changes: 1 addition & 1 deletion etc/ncp-config.d/nc-notify-updates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ NCDIR=/var/www/nextcloud
configure()
{
[[ $ACTIVE_ != "yes" ]] && {
rm /etc/cron.d/ncp-notify-updates
rm -f /etc/cron.d/ncp-notify-updates
service cron restart
echo "update web notifications disabled"
return 0
Expand Down
2 changes: 1 addition & 1 deletion etc/ncp-config.d/nc-rsync-auto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ install()
configure()
{
[[ $ACTIVE_ != "yes" ]] && {
rm /etc/cron.d/ncp-rsync-auto
rm -f /etc/cron.d/ncp-rsync-auto
echo "automatic rsync disabled"
return 0
}
Expand Down
2 changes: 1 addition & 1 deletion etc/ncp-config.d/nc-scan-auto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ INFO="Set the time in minutes in SCANINTERVAL.
configure()
{
[[ $ACTIVE_ != "yes" ]] && {
rm /etc/cron.d/ncp-scan-auto
rm -f /etc/cron.d/ncp-scan-auto
service cron restart
echo "automatic scans disabled"
return 0
Expand Down
2 changes: 1 addition & 1 deletion etc/ncp-config.d/nc-snapshot-auto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ install()
configure()
{
[[ $ACTIVE_ != "yes" ]] && {
rm /etc/cron.hourly/btrfs-snp
rm -f /etc/cron.hourly/btrfs-snp
echo "automatic snapshots disabled"
return 0
}
Expand Down
2 changes: 1 addition & 1 deletion etc/ncp-config.d/nc-snapshot-sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ install()
configure()
{
[[ $ACTIVE_ != "yes" ]] && {
rm /etc/cron.d/ncp-snapsync-auto
rm -f /etc/cron.d/ncp-snapsync-auto
service cron restart
echo "snapshot sync disabled"
return 0
Expand Down

0 comments on commit 1b25141

Please sign in to comment.