Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Avoid errors when install dependencies #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions functions/check_functions
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function check_dependencies {
# Positive action
[Yy]* )
echo_message warning "Requires root privileges"
sudo apt install -y $PACKAGE
superuser_do "apt install -y $PACKAGE"
echo_message success "Package '$PACKAGE' installed."
;;
# Negative action
Expand Down Expand Up @@ -212,4 +212,4 @@ function system_checks {
check_privileges
# Check dependencies
check_dependencies
}
}