🚧 hot fix

This commit is contained in:
Vladislav Nepogodin committed 2021-10-27 03:58:07 +04:00
1 parent e8ee999f1b
commit 309acb2294
1 file changed
+1 -1
@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
_clean_packages(){ _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 _packages_to_remove=($(comm -23 <(pacman -Qqt | sort) <({ pacman -Qqg base-devel; printf $_leave_these_packages; } | sort -u)))
local xx local xx
# @ does one by one to avoid errors in the entire process # @ does one by one to avoid errors in the entire process