From 309acb22949178d6fb6150df38e6a7299b4a855b Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Wed, 27 Oct 2021 03:58:07 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20hot=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 691a8b8..b8d2fd5 100755 --- a/archiso/airootfs/usr/local/bin/removeun-online +++ b/archiso/airootfs/usr/local/bin/removeun-online @@ -1,7 +1,7 @@ #!/bin/bash _clean_packages(){ - local _leave_these_packages="base\nbase-devel\ncachyos-keyring\ncachyos-mirrorlist\ncachyos-hello\n" + local _leave_these_packages="base\nbase-devel\ncachyos-keyring\ncachyos-mirrorlist\ncachyos-hello\ngrub\nefibootmgr\n" local _packages_to_remove=($(comm -23 <(pacman -Qqt | sort) <({ pacman -Qqg base-devel; printf $_leave_these_packages; } | sort -u))) local xx # @ does one by one to avoid errors in the entire process