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 5, 2025
1 parent 124ea63 commit 41bf3f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions opt/bin/main/setup
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ rm_package_files(){
ready 'Удаляем архивные копии пакета Квас' && {
find /opt ! -path "/opt/packages/*" ! -path "/opt/lib/opkg/*" -name '*kvas*' ! -regex '.*/kvas[a-zA-Z].*' -exec rm -rf {} +

rm_file /opt/tmp/adblock
rm_dir /opt/tmp/adblock
rm_file /opt/etc/inface_equals
rm_file /opt/etc/kvas.conf
rm_file /opt/etc/kvas.list
Expand All @@ -308,7 +308,7 @@ rm_package_files(){
rm_file /opt/etc/cron.5mins/check_vpn

rm_file /opt/etc/dnsmasq.d/kvas.dnsmasq
rm_file /opt/etc/adblock
rm_dir /opt/etc/adblock

rm_file /opt/bin/kvas

Expand Down Expand Up @@ -465,8 +465,8 @@ rm_previous_version_files() {

# текущие, создадутся позже
rm_file /opt/etc/dnsmasq.d/kvas.dnsmasq
rm_file /opt/etc/adblock
rm_file /opt/tmp/adblock
rm_dir /opt/etc/adblock
rm_dir /opt/tmp/adblock
# исторические
rm_file /opt/etc/ads_exception.list
rm_file /opt/etc/hosts.list
Expand Down

0 comments on commit 41bf3f0

Please sign in to comment.