mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-04 01:43:56 +08:00
✨ Sync 2026-10-11 20:48:25
This commit is contained in:
1 parent
78f0ba8251
commit
5ce75c9f2b
45 files changed
+54
-879
No files matched your search
@@ -10,6 +10,14 @@ if [ "$dash" = "none" ]; then
|
||||
: > /etc/honk/config.d/api.dae
|
||||
fi
|
||||
|
||||
# Drop options of the auto-subscribe feature removed from this package
|
||||
uci -q show honk 2>/dev/null | sed -n 's/^\(.*\)\.subscribe_[a-z_]*=.*$/\1/p' | sort -u | while read -r s; do
|
||||
for opt in subscribe_auto_update subscribe_update_week_time subscribe_update_day_time; do
|
||||
uci -q delete "$s.$opt"
|
||||
done
|
||||
uci -q commit honk
|
||||
done
|
||||
|
||||
# Migrate legacy /etc/honk/dashboard directory
|
||||
if [ -d /etc/honk/dashboard ] && [ ! -d /etc/honk/doona ]; then
|
||||
mv /etc/honk/dashboard /etc/honk/doona
|
||||
|
||||
Reference in new issue
Block a user