Skip to content

Commit

Permalink
qzeleza#234 синхронизация списков удаления
Browse files Browse the repository at this point in the history
  • Loading branch information
AltGrF13 authored and AltGrF13 committed Jan 4, 2025
1 parent f381e8b commit f62656f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion opt/bin/main/setup
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,9 @@ rm_package_files(){
rm_file /opt/etc/ndm/fs.d/15-kvas-start.sh
rm_file /opt/etc/cron.5mins/check_vpn

rm_file /opt/bin/kvas
rm_file /opt/etc/adblock
# корректно ли так поступать вместо opkg remove?
rm_file /opt/bin/kvas

rm_dir /opt/apps/kvas
} && when_ok || when_bad
Expand Down Expand Up @@ -462,6 +463,12 @@ rm_previous_version_files(){
rm_file /opt/etc/cron.hourly/ipset.kvas
rm_file /opt/etc/cron.daily/ipset.kvas

rm_file /opt/etc/adblock
# full
rm_file /opt/etc/ads_exception.list
rm_file /opt/etc/inface_equals
rm_file /opt/tmp/adblock

# текущие
rm_dir /opt/etc/.kvas
rm_dir /opt/apps/kvas
Expand Down

0 comments on commit f62656f

Please sign in to comment.