File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed
modules/share/airootfs.any/usr/share/calamares Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -6,16 +6,7 @@ script_path="$( cd -P "$( dirname "$(readlink -f "${0}")" )" && pwd )"
66script_name=" $( basename " $( realpath " ${0} " ) " ) "
77
88function remove () {
9- local list
10- local file
11- list=($( echo " $@ " ) )
12- for file in " ${list[@]} " ; do
13- if [[ -f ${file} ]]; then
14- rm -f " ${file} "
15- elif [[ -d ${file} ]]; then
16- rm -rf " ${file} "
17- fi
18- done
9+ rm -rf " ${@ } "
1910}
2011
2112while getopts ' u:' arg; do
@@ -40,14 +31,13 @@ remove_user_file ".config/gtk-3.0/bookmarks"
4031remove /etc/polkit-1/rules.d/01-nopasswork.rules
4132
4233# Delete unnecessary files of archiso.
43- remove /etc/systemd/system/
[email protected] /autologin.conf
4434remove /root/.automated_script.sh
4535remove /etc/mkinitcpio-archiso.conf
4636remove /etc/initcpio
4737
4838# Delete systemd files
4939remove /etc/systemd/journald.conf.d/volatile-storage.conf
50- remove /etc/systemd/system/getty@tty1 .service.d
40+ remove /etc/systemd/system/
[email protected] 5141remove /etc/systemd/system/alteriso-reflector.service
5242
5343# Disabled auto login for LightDM
You can’t perform that action at this time.
0 commit comments