changed the layout, should not effect script behaviour
This commit is contained in:
parent
293c4b9965
commit
0997cf8a9c
15 changed files with 386 additions and 294 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue