mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-12-08 16:27:31 +00:00
My brain cells hurt
This commit is contained in:
parent
f149f19284
commit
0006ee3a3d
@ -35,9 +35,9 @@ function command_exists() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function install_deps(){
|
function install_deps(){
|
||||||
local debianDeps='tar mpv libappindicator3-1 gir1.2-appindicator3-0.1 libsecret-1-0 libnotify-bin libjsoncpp25'
|
local debianDeps='mpv libappindicator3-1 gir1.2-appindicator3-0.1 libsecret-1-0 libnotify-bin libjsoncpp25'
|
||||||
local rpmDeps='tar mpv libappindicator jsoncpp libsecret libnotify'
|
local rpmDeps='mpv libappindicator jsoncpp libsecret libnotify'
|
||||||
local archDeps='tar mpv libappindicator-gtk3 libsecret jsoncpp libnotify'
|
local archDeps='mpv libappindicator-gtk3 libsecret jsoncpp libnotify'
|
||||||
|
|
||||||
if command_exists apt; then
|
if command_exists apt; then
|
||||||
apt install -y ${debianDeps}
|
apt install -y ${debianDeps}
|
||||||
@ -49,15 +49,12 @@ function install_deps(){
|
|||||||
zypper install -y ${rpmDeps}
|
zypper install -y ${rpmDeps}
|
||||||
elif command_exists pacman; then
|
elif command_exists pacman; then
|
||||||
pacman -Sy ${archDeps}
|
pacman -Sy ${archDeps}
|
||||||
else
|
else
|
||||||
# TODO - install them
|
# Deps
|
||||||
|
# JsonCpp
|
||||||
# TAR
|
wget https://github.com/open-source-parsers/jsoncpp/tarball/master -O jsoncpp.tar.gz
|
||||||
# wget -q https://ftp.gnu.org/gnu/tar/tar-latest.tar.gz
|
tar -xf jsoncpp.tar.gz && cd open-source-parsers-jsoncpp-*
|
||||||
|
|
||||||
|
|
||||||
# echo "Your package manager is not supported by this script. Please install the dependencies manually."
|
|
||||||
# echo "The dependencies are: curl, tar, mpv, appindicator, libsecret, jsoncpp, libnotify"
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user