From 5de572515920b6f15fbf7ce5a5cebbe59d33c042 Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Sun, 8 May 2022 03:54:52 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20fix=20&=20add=20cachyos=20group?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archiso/airootfs/usr/local/bin/removeun-online | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archiso/airootfs/usr/local/bin/removeun-online b/archiso/airootfs/usr/local/bin/removeun-online index 482b5f0..3b49e34 100755 --- a/archiso/airootfs/usr/local/bin/removeun-online +++ b/archiso/airootfs/usr/local/bin/removeun-online @@ -1,8 +1,8 @@ #!/bin/bash _clean_packages() { - local _leave_these_packages="base\nbase-devel\ncachyos-keyring\ncachyos-mirrorlist\ncachyos-v3-mirrorlist\ncachyos-hello\ngrub\nefibootmgr\n" - local _packages_to_remove=($(comm -23 <(pacman -Qq | sort) <({ pacman -Qqg base-devel; printf "%s" $_leave_these_packages; } | sort -u))) + local _leave_these_packages="base\nbase-devel\ncachyos-keyring\ncachyos-hello\ngrub\nefibootmgr\noctopi\n" + local _packages_to_remove=($(comm -23 <(pacman -Qq | sort) <({ pacman -Qqg base-devel; pacman -Qqg cachyos; printf $_leave_these_packages; } | sort -u))) local xx # @ does one by one to avoid errors in the entire process # * can be used to treat all packages in one command