Fix my repo stuff
This commit is contained in:
parent
7e8acc3f96
commit
320b1f80f7
2 changed files with 22 additions and 2 deletions
|
@ -8,11 +8,12 @@ fi
|
||||||
command_exists() { type "$1" &>/dev/null; }
|
command_exists() { type "$1" &>/dev/null; }
|
||||||
|
|
||||||
if command_exists "apt-get"; then
|
if command_exists "apt-get"; then
|
||||||
sudo curl -L https://askiiart.net/repos/debian/bookworm/amd64/askiiart.list -C - -o /etc/apt/sources.list.d/askiiart.list
|
sudo curl -L https://askiiart.net/repos/debian/dists/bookworm/stable/binary-amd64/askiiart.list -o /etc/apt/sources.list.d/askiiart.list
|
||||||
sudo apt update --allow-insecure-repositories
|
sudo apt update --allow-insecure-repositories
|
||||||
sudo apt install armcord -y
|
sudo apt install armcord -y --allow-unauthenticated
|
||||||
elif command_exists "yum"; then
|
elif command_exists "yum"; then
|
||||||
sudo dnf config-manager --add-repo https://askiiart.net/repos/fedora/x86_64/askiiart.repo
|
sudo dnf config-manager --add-repo https://askiiart.net/repos/fedora/x86_64/askiiart.repo
|
||||||
|
sudo dnf install ArmCord -y
|
||||||
elif command_exists "pacman"; then
|
elif command_exists "pacman"; then
|
||||||
yay -S armcord-bin
|
yay -S armcord-bin
|
||||||
else
|
else
|
||||||
|
|
19
install-stuff/install-yt-music.bash
Executable file
19
install-stuff/install-yt-music.bash
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
set -e
|
||||||
|
if [ $(whoami) == "root" ]; then
|
||||||
|
echo "Run as a normal user, not root"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
command_exists() { type "$1" &>/dev/null; }
|
||||||
|
|
||||||
|
if command_exists "apt-get"; then
|
||||||
|
sudo curl -L https://askiiart.net/repos/debian/dists/bookworm/stable/binary-amd64/askiiart.list -o /etc/apt/sources.list.d/askiiart.list
|
||||||
|
sudo apt update --allow-insecure-repositories
|
||||||
|
sudo apt install youtube-music -y --allow-unauthenticated
|
||||||
|
elif command_exists "yum"; then
|
||||||
|
sudo dnf config-manager --add-repo https://askiiart.net/repos/fedora/x86_64/askiiart.repo
|
||||||
|
sudo dnf install youtube-music -y
|
||||||
|
else
|
||||||
|
echo "IDK, check the repo: https://github.com/th-ch/youtube-music"
|
||||||
|
fi
|
Loading…
Reference in a new issue