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
19
pkgui.sh
19
pkgui.sh
|
@ -106,6 +106,13 @@
|
|||
}
|
||||
|
||||
main() {
|
||||
if $silent; then
|
||||
echo_warning "Executing script silently!"
|
||||
fi
|
||||
|
||||
if ! getDependencies; then
|
||||
echo_error "Error when installing dependencies.."
|
||||
fi
|
||||
checkDeps
|
||||
instDeps
|
||||
getPkgUI
|
||||
|
@ -113,16 +120,6 @@
|
|||
}
|
||||
|
||||
if getImports; then
|
||||
case "$1" in
|
||||
--silent | -s)
|
||||
silent=true
|
||||
echo_warning "Running the script silently.."
|
||||
;;
|
||||
*)
|
||||
silent=false
|
||||
;;
|
||||
esac
|
||||
main
|
||||
fi
|
||||
|
||||
main
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue