Modifed I38 and convert to server to match latest images.
This commit is contained in:
@@ -6,6 +6,10 @@ if [[ "$(whoami)" == "root" ]]; then
|
||||
fi
|
||||
|
||||
sudoFlags=("${sudoFlags[@]}")
|
||||
yaySudoArgs=()
|
||||
if [[ ${#sudoFlags[@]} -gt 0 ]]; then
|
||||
yaySudoArgs=(--sudoflags "${sudoFlags[*]}")
|
||||
fi
|
||||
|
||||
confirmRemoval="$(yesno "This will remove the I38 desktop, disable GUI startup, remove the XLibre desktop packages installed for I38, and delete generated I38 configuration from your account. Continue?")"
|
||||
if [[ "$confirmRemoval" != "Yes" ]]; then
|
||||
@@ -44,7 +48,7 @@ for packageName in "${packages[@]}"; do
|
||||
done
|
||||
|
||||
if [[ ${#installedPackages[@]} -gt 0 ]]; then
|
||||
yay --sudoflags "${sudoFlags[@]}" --noconfirm -Rns "${installedPackages[@]}"
|
||||
yay "${yaySudoArgs[@]}" --noconfirm -Rns "${installedPackages[@]}"
|
||||
fi
|
||||
|
||||
removeConfig="$(yesno "Delete generated I38 files from $HOME? This removes ~/.config/i3, ~/.xinitrc, ~/.xprofile, and ~/git/I38 if present.")"
|
||||
|
||||
Reference in New Issue
Block a user