From 68ffa1dcb3c89d8233ffcf8e052eff43a0d6639c Mon Sep 17 00:00:00 2001 From: svsp Date: Sun, 1 Feb 2026 06:42:38 +0500 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=83=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=B2=D1=81=D0=B5=D1=85=20=D0=BF=D0=B0=D0=BA=D0=B5?= =?UTF-8?q?=D1=82=D0=BE=D0=B2,=20=D0=B2=20=D1=82=D0=BE=D0=BC=20=D1=87?= =?UTF-8?q?=D0=B8=D1=81=D0=BB=D0=B5=20=D0=B8=20=D0=B7=D0=B0=D0=B1=D0=BB?= =?UTF-8?q?=D0=BE=D0=BA=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=BD=D1=8B?= =?UTF-8?q?=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cpm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cpm b/cpm index 7a20fa6..93a9d37 100755 --- a/cpm +++ b/cpm @@ -56,12 +56,13 @@ case "$1" in "sreset") echo "==== Удаление всех пользовательских пакетов ====" - get_custom_packages | while read -r package; do + pkg unlock -a + get_custom_packages | while read -r package; do if [ "$package" = "pkg" ] || [ "$package" = "pkg-*" ]; then continue fi echo "Удаление $package" - pkg delete -y "$package" + pkg delete -y "$package" >/dev/null 2>&1 done pkg autoremove -y ;;