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() {
|
checkComp() {
|
||||||
if ! $arch && ! $debian; then
|
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
|
return 69
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
getDependencies() {
|
getDependencies() {
|
||||||
echo_info "Checking build dependencies.."
|
pen bold blue "Checking build dependencies.."
|
||||||
|
|
||||||
# INFO:
|
# INFO:
|
||||||
# ╭─────────────────────────────────────────────────────────────────────────╮
|
# ╭─────────────────────────────────────────────────────────────────────────╮
|
||||||
|
@ -128,18 +128,18 @@ cloneAndInstall() {
|
||||||
echo_pkg install "Installing package.."
|
echo_pkg install "Installing package.."
|
||||||
$_sudo cmake --install build
|
$_sudo cmake --install build
|
||||||
else
|
else
|
||||||
echo_error "Build has failed for $distro compiling $PACKAGE"
|
echo-error "Build has failed for $distro compiling $PACKAGE"
|
||||||
return 69
|
return 69
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
if $silent; then
|
if $silent; then
|
||||||
echo_warning "Executing script silently!"
|
pen bold yellow "Executing script silently!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! getDependencies; then
|
if ! getDependencies; then
|
||||||
echo_error "Error when installing dependencies.."
|
echo-error "Error when installing dependencies.."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$distro" in
|
case "$distro" in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue