wip
This commit is contained in:
parent
aad629e3c0
commit
8f6dc2b1c9
1 changed files with 6 additions and 1 deletions
|
@ -55,7 +55,7 @@ checkAndInstall() {
|
||||||
for deps in "$@"; do
|
for deps in "$@"; do
|
||||||
if ! command_exists $deps; then
|
if ! command_exists $deps; then
|
||||||
echo_note "$deps is not installed. Installing it now.."
|
echo_note "$deps is not installed. Installing it now.."
|
||||||
_install "$deps"
|
run _install "$deps"
|
||||||
else
|
else
|
||||||
echo_note "skipping $deps - as it's already installed.."
|
echo_note "skipping $deps - as it's already installed.."
|
||||||
fi
|
fi
|
||||||
|
@ -236,6 +236,11 @@ get_packager() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# INFO:
|
||||||
|
# ╭────────────────────────────────────────────────────────────────────────────────────────╮
|
||||||
|
# │ Automated setup for refreshing repositories and overall getting the variables to setup │
|
||||||
|
# ╰────────────────────────────────────────────────────────────────────────────────────────╯
|
||||||
|
|
||||||
update_package_list() {
|
update_package_list() {
|
||||||
echo_note "Refreshing repositories.."
|
echo_note "Refreshing repositories.."
|
||||||
case "$distro" in
|
case "$distro" in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue