changed the layout, should not effect script behaviour

This commit is contained in:
pika 2025-05-19 13:59:53 +02:00
parent 293c4b9965
commit 0997cf8a9c
15 changed files with 386 additions and 294 deletions

View file

@ -148,11 +148,19 @@ _nala() {
main() {
if $silent; then
echo_warning "Executing script silently!"
fi
# Getting general dependencies
getDependencies
if ! getDependencies; then
echo_error "Error when installing dependencies.."
fi
# removing 'bloat'
removeBloat
if ! removeBloat; then
echo_error "Error when removing bloat.."
fi
case "$distro" in
debian)
@ -176,14 +184,12 @@ main() {
}
if getImports; then
case "$@" in
--silent | -s)
silent=true
echo_warning "Running script silently!"
;;
*)
silent=false
;;
esac
# ─< package variable >───────────────────────────────────────────────────────────────────
unset PACKAGE
# ─< argument list variables >────────────────────────────────────────────────────────────
silent=false
PACKAGE=postinstallation
main
fi