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 17, 2025
1 parent ddd4224 commit b89f379
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion opt/bin/main/setup
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,9 @@ rm_package_files() {

if [ "${full}" = full ] ; then
ready 'Удаляем архивные копии пакета Квас' && {
find /opt ! -path '/opt/packages/*' ! -path '/opt/lib/opkg/*' -name '*kvas*' ! -regex '.*/kvas[a-zA-Z].*' -exec rm -rf {} +
find /opt ! -path '/opt/packages/*' ! -path '/opt/lib/opkg/*' \
-name '*kvas*' ! -regex '.*/kvas[a-zA-Z].*' \
-exec rm -rf {} +

rm_file /opt/etc/inface_equals
rm_file /opt/etc/kvas.conf
Expand Down

0 comments on commit b89f379

Please sign in to comment.