mirror of
https://github.com/theupriser/steamify-cachyos-live-iso.git
synced 2026-10-02 15:10:26 +02:00
🧹 cleanup offline installation from files
This commit is contained in:
1 file changed
+11
-14
@@ -1,20 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#set -e
|
#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_files() {
|
||||||
|
local _files_to_remove=(
|
||||||
|
/etc/modprobe.d/nvidia-utils.conf
|
||||||
|
/etc/modules-load.d/nvidia-utils.conf
|
||||||
|
)
|
||||||
|
local xx
|
||||||
|
for xx in "${_files_to_remove[@]}"; do rm -f "$xx" || true; done
|
||||||
|
}
|
||||||
|
|
||||||
|
# taken from Erik Dubois script
|
||||||
_clean_packages() {
|
_clean_packages() {
|
||||||
local _packages_to_remove=(
|
local _packages_to_remove=(
|
||||||
gparted
|
gparted
|
||||||
@@ -45,3 +41,4 @@ _clean_packages() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_clean_packages
|
_clean_packages
|
||||||
|
_clean_files
|
||||||
Reference in new issue
Block a user