From 0b39ad6d94a3f2fcbb93a66f682421b7b7b1b97f Mon Sep 17 00:00:00 2001 From: pika Date: Mon, 19 May 2025 16:49:46 +0200 Subject: [PATCH] wip --- gbar.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gbar.sh b/gbar.sh index 545b1de..f74c50e 100644 --- a/gbar.sh +++ b/gbar.sh @@ -43,7 +43,7 @@ # │ You can define dependencies for various linux distros here. It will │ # │ automagically be pulled via the $pkgArray[$distro] variable │ # ╰─────────────────────────────────────────────────────────────────────────╯ - depsDebian=(bluez mason gcc ninja libdbusmenu-gtk3-dev libgtk-layer-shell-dev libpulse-dev libsass-dev) + depsDebian=(bluez meson gcc ninja libdbusmenu-gtk3-dev libgtk-layer-shell-dev libpulse-dev libsass-dev) # depsFedora=() # depsOpensuse=() # depsArch=() @@ -88,8 +88,8 @@ checkAndInstall gbar-git ;; debian | ubuntu) - local cloneDir="$(mktemp)" - echo_info "Cloning gBar source into $cloneDir/gbar" + local cloneDir="$(mktemp -d)" + echo_pkg clone "Cloning gBar source into $cloneDir/gbar" cd "$cloneDir" || mkdir "$cloneDir" && cd "$cloneDir" git clone --depth=1 https://github.com/scorpion-26/gBar.git gbar && cd gbar @@ -103,7 +103,7 @@ sleep 0.2 if command_exists gBar; then - echo_info "Gbar was installed successfully" + echo_pkg post-installation-check "Gbar was installed successfully" else echo_warning "Something went wrong.. maybe.." fi