mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
🔥 add new scripts
This commit is contained in:
7 files changed
+228
-256
No files matched your search
+28
@@ -0,0 +1,28 @@
|
||||
#!/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(){
|
||||
|
||||
local _packages_to_remove=($(comm -23 <(pacman -Qqt | sort) <({ pacman -Qqg base-devel; echo "base"; echo "base-devel"; } | 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
|
||||
for xx in ${_packages_to_remove[@]}; do pacman -Rsc $xx --noconfirm; done
|
||||
|
||||
}
|
||||
|
||||
_clean_packages
|
||||
Reference in new issue
Block a user