🚧 hot fix

This commit is contained in:
Vladislav Nepogodin committed 2021-10-27 03:24:35 +04:00
1 parent da38263819
commit e8ee999f1b
1 file changed
+2 -17
+2 -17
View File
@@ -1,23 +1,8 @@
#!/bin/bash #!/bin/bash
#set -e
###############################################################################
# Author : Erik Dubois
# Website : https://www.erikdubois.be
# Website : https://www.arcolinux.info
# Website : https://www.arcolinux.com
# Website : https://www.arcolinuxd.com
# Website : https://www.arcolinuxb.com
# Website : https://www.arcolinuxiso.com
# Website : https://www.arcolinuxforum.com
###############################################################################
#
# DO NOT JUST RUN THIS. EXAMINE AND JUDGE. RUN AT YOUR OWN RISK.
#
###############################################################################
_clean_packages(){ _clean_packages(){
local _leave_these_packages="base\nbase-devel\ncachyos-keyring\ncachyos-mirrorlist\ncachyos-hello\n"
local _packages_to_remove=($(comm -23 <(pacman -Qqt | sort) <({ pacman -Qqg base-devel; echo "base"; echo "base-devel"; } | 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
# * can be used to treat all packages in one command # * can be used to treat all packages in one command