🚧 fix & add cachyos group

This commit is contained in:
Vladislav Nepogodin committed 2022-05-08 03:54:52 +04:00
1 parent 7fea23d113
commit 5de5725159
1 file changed
+2 -2
@@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
_clean_packages() { _clean_packages() {
local _leave_these_packages="base\nbase-devel\ncachyos-keyring\ncachyos-mirrorlist\ncachyos-v3-mirrorlist\ncachyos-hello\ngrub\nefibootmgr\n" 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; printf "%s" $_leave_these_packages; } | sort -u))) local _packages_to_remove=($(comm -23 <(pacman -Qq | sort) <({ pacman -Qqg base-devel; pacman -Qqg cachyos; 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
# * can be used to treat all packages in one command # * can be used to treat all packages in one command