making changes..
This commit is contained in:
parent
108932f362
commit
d9d735f164
1 changed files with 5 additions and 5 deletions
|
@ -36,13 +36,13 @@ source-script() {
|
|||
|
||||
checkComp() {
|
||||
if ! $arch && ! $debian; then
|
||||
echo_error "Your distro $distro is not compatible with this script"
|
||||
echo-error "Your distro $distro is not compatible with this script"
|
||||
return 69
|
||||
fi
|
||||
}
|
||||
|
||||
getDependencies() {
|
||||
echo_info "Checking build dependencies.."
|
||||
pen bold blue "Checking build dependencies.."
|
||||
|
||||
# INFO:
|
||||
# ╭─────────────────────────────────────────────────────────────────────────╮
|
||||
|
@ -128,18 +128,18 @@ cloneAndInstall() {
|
|||
echo_pkg install "Installing package.."
|
||||
$_sudo cmake --install build
|
||||
else
|
||||
echo_error "Build has failed for $distro compiling $PACKAGE"
|
||||
echo-error "Build has failed for $distro compiling $PACKAGE"
|
||||
return 69
|
||||
fi
|
||||
}
|
||||
|
||||
main() {
|
||||
if $silent; then
|
||||
echo_warning "Executing script silently!"
|
||||
pen bold yellow "Executing script silently!"
|
||||
fi
|
||||
|
||||
if ! getDependencies; then
|
||||
echo_error "Error when installing dependencies.."
|
||||
echo-error "Error when installing dependencies.."
|
||||
fi
|
||||
|
||||
case "$distro" in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue