1.55.3.sh: Prevent nonzero exit code if no action necessary

Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
Tobias Knöppler 2025-03-24 00:50:05 +01:00
parent 7f4de99aac
commit 5738d58f28
No known key found for this signature in database
GPG Key ID: 44FD368932E645C1

View File

@ -1,3 +1,3 @@
#!/bin/bash
[ -f /etc/cron.d/ncp-previews-auto ] && mv /etc/cron.d/ncp-previews-auto /etc/cron.d/nc-previews-auto
! [ -f /etc/cron.d/ncp-previews-auto ] || mv /etc/cron.d/ncp-previews-auto /etc/cron.d/nc-previews-auto