File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change 454454# skip: do not perform any action if there is a manifest version difference
455455preserveFilesDirs=(
456456 "move:/usr/local/emhttp/plugins/dynamix/Registration.page:preventDowngrade"
457+ "copy:/usr/local/emhttp/plugins/dynamix/Notifications.page:preventDowngrade"
457458 "move:/usr/local/emhttp/plugins/dynamix/include/UpdateDNS.php:preventDowngrade"
458459 "move:/usr/local/emhttp/plugins/dynamix.plugin.manager/Downgrade.page:preventDowngrade"
459460 "move:/usr/local/emhttp/plugins/dynamix.plugin.manager/Update.page:preventDowngrade"
@@ -540,6 +541,19 @@ for FILE in "${FILES[@]}"; do
540541 fi
541542done
542543
544+ # patch: Notifications.page
545+ #
546+ # Remove date and time format settings from Notification Settings
547+ # search text: _(Date format)_:
548+ # search text: _(Time format)_:
549+
550+ FILE=/usr/local/emhttp/plugins/dynamix/Notifications.page
551+ TMP_FILE=$(mktemp)
552+ cp "$FILE" "$TMP_FILE"
553+ sed -i '/_(Date format)_:/,/:notifications_date_format_help:/d' $TMP_FILE
554+ sed -i '/_(Time format)_:/,/:notifications_time_format_help:/d' $TMP_FILE
555+ mv "$TMP_FILE" "$FILE"
556+
543557# remove keys.limetechnology.com from hosts file
544558# brings older versions of Unraid in sync with 6.12.12
545559# no need to restore original file on uninstall
You can’t perform that action at this time.
0 commit comments