From 7fea23d1139c1a6f22849b110dc4fe3ef20dcef1 Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Sun, 8 May 2022 03:19:14 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archiso/airootfs/usr/local/bin/removeun-online | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archiso/airootfs/usr/local/bin/removeun-online b/archiso/airootfs/usr/local/bin/removeun-online index e7c056c..482b5f0 100755 --- a/archiso/airootfs/usr/local/bin/removeun-online +++ b/archiso/airootfs/usr/local/bin/removeun-online @@ -2,7 +2,7 @@ _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 _packages_to_remove=($(comm -23 <(pacman -Qq | sort) <({ pacman -Qqg base-devel; printf "%s" $_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