wip
This commit is contained in:
parent
772cc70675
commit
f324cb7ada
1 changed files with 3 additions and 3 deletions
|
@ -54,7 +54,7 @@ command_exists() {
|
|||
|
||||
# ─────────────────────────────────────< get packager >─────────────────────────────────────
|
||||
# checkPkg() {
|
||||
for pkg in apt-get dnf pacman apk zypper; do
|
||||
for pkg in "apt-get dnf pacman apk zypper"; do
|
||||
if command_exists $pkg; then
|
||||
printf "Using ${RED}${pkg}${NC} method.."
|
||||
pkger="$pkg"
|
||||
|
@ -231,7 +231,7 @@ zypperBase() {
|
|||
# }
|
||||
|
||||
install_base() {
|
||||
envCheck
|
||||
# envCheck
|
||||
|
||||
echo_info "Installing base packages..."
|
||||
case "$pkger" in
|
||||
|
@ -256,7 +256,7 @@ install_base() {
|
|||
}
|
||||
|
||||
optimize_os() {
|
||||
envCheck
|
||||
# envCheck
|
||||
|
||||
echo_info "Running OS optimizations..."
|
||||
case "$pkg" in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue