wip
This commit is contained in:
parent
15024d0f57
commit
0b39ad6d94
1 changed files with 4 additions and 4 deletions
8
gbar.sh
8
gbar.sh
|
@ -43,7 +43,7 @@
|
||||||
# │ You can define dependencies for various linux distros here. It will │
|
# │ You can define dependencies for various linux distros here. It will │
|
||||||
# │ automagically be pulled via the $pkgArray[$distro] variable │
|
# │ 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=()
|
# depsFedora=()
|
||||||
# depsOpensuse=()
|
# depsOpensuse=()
|
||||||
# depsArch=()
|
# depsArch=()
|
||||||
|
@ -88,8 +88,8 @@
|
||||||
checkAndInstall gbar-git
|
checkAndInstall gbar-git
|
||||||
;;
|
;;
|
||||||
debian | ubuntu)
|
debian | ubuntu)
|
||||||
local cloneDir="$(mktemp)"
|
local cloneDir="$(mktemp -d)"
|
||||||
echo_info "Cloning gBar source into $cloneDir/gbar"
|
echo_pkg clone "Cloning gBar source into $cloneDir/gbar"
|
||||||
|
|
||||||
cd "$cloneDir" || mkdir "$cloneDir" && cd "$cloneDir"
|
cd "$cloneDir" || mkdir "$cloneDir" && cd "$cloneDir"
|
||||||
git clone --depth=1 https://github.com/scorpion-26/gBar.git gbar && cd gbar
|
git clone --depth=1 https://github.com/scorpion-26/gBar.git gbar && cd gbar
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
sleep 0.2
|
sleep 0.2
|
||||||
|
|
||||||
if command_exists gBar; then
|
if command_exists gBar; then
|
||||||
echo_info "Gbar was installed successfully"
|
echo_pkg post-installation-check "Gbar was installed successfully"
|
||||||
else
|
else
|
||||||
echo_warning "Something went wrong.. maybe.."
|
echo_warning "Something went wrong.. maybe.."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue