making changes..

This commit is contained in:
pika 2025-05-24 14:49:14 +02:00
parent 108932f362
commit d9d735f164

View file

@ -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