wip
This commit is contained in:
parent
4d111f7a94
commit
e23be42d6a
1 changed files with 5 additions and 3 deletions
|
@ -102,8 +102,8 @@ getDependencies() {
|
||||||
|
|
||||||
case "$distro" in
|
case "$distro" in
|
||||||
debian | ubuntu | arch | fedora | alpine | opensuse)
|
debian | ubuntu | arch | fedora | alpine | opensuse)
|
||||||
|
|
||||||
echo_info "Installing base packages.."
|
echo_info "Installing base packages.."
|
||||||
|
checkAndInstall "${generalDeps[@]}"
|
||||||
checkAndInstall "${pkgArray[@]}"
|
checkAndInstall "${pkgArray[@]}"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -135,8 +135,10 @@ main() {
|
||||||
|
|
||||||
# Check if file exists
|
# Check if file exists
|
||||||
if [ ! -f "$sources_file" ]; then
|
if [ ! -f "$sources_file" ]; then
|
||||||
echo_error "Error: $sources_file not found"
|
if [ ! -f "/etc/apt/sources.d/sources.list" ]; then
|
||||||
return 1
|
echo_error "Error: $sources_file not found"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Comment out CD-ROM entries using sudo
|
# Comment out CD-ROM entries using sudo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue