Update various arch installs

This commit is contained in:
askiiart 2023-11-20 12:28:28 -06:00
parent 3993e17ba0
commit 516af42ce8
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67
5 changed files with 39 additions and 5 deletions

View file

@ -20,9 +20,8 @@ elif command_exists "pacman"; then
cd yay
makepkg -si
cd $WD
yay -S noto-fonts-emoji --noconfirm --needed
yay -S noto-fonts-emoji digikam eog --noconfirm --needed
elif command_exists "zypp"; then
# Untested
echo "not yet implemented"
elif command_exists "emerge"; then
echo "not yet implemented"

View file

@ -13,6 +13,7 @@ chmod 700 ./*.bash
./install-vesktop.bash
./install-fish.bash
./install-librewolf.bash
./install-misc.sh
./install-qemu-libvirt.bash
./install-steam.bash
./install-vs-code.bash

@ -1 +1 @@
Subproject commit bd8dfa678e207d4570bfc7fc516ba35a887ef7e1
Subproject commit 087aec304ecac6ead3e291e66c5cb89b96e41d23

View file

@ -0,0 +1,34 @@
#!/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; }
echo "WARNING: Only Arch is fully supported"
if command_exists "apt-get"; then
sudo apt-get install kitty -y
echo "Please install SchildiChat, nvim/neovim"
elif command_exists "yum"; then
sudo yum install kitty -y
echo "Please install SchildiChat, nvim/neovim"
elif command_exists "pacman"; then
sudo pacman -S kitty --noconfirm --neeeded
yay -S schildichat-desktop-bin --noconfirm --needed
elif command_exists "zypp"; then
# Untested
sudo zypper install kitty -y
echo "Please install SchildiChat, nvim/neovim"
elif command_exists "emerge"; then
echo Not yet supported, exiting...
exit
elif command_exists "apk"; then
echo Not yet supported, exiting...
else
echo "Unsupported: unknown package manager and distro"
exit
fi

View file

@ -14,8 +14,8 @@ if command_exists "apt-get"; then
elif command_exists "yum"; then
sudo dnf install steam -y
elif command_exists "yay"; then
printf '[multilib]\nInclude = /etc/pacman.d/mirrorlist\n'
read -p "Enable the multilib repo in /etc/pacman.conf - look above"
#printf '[multilib]\nInclude = /etc/pacman.d/mirrorlist\n'
#read -p "Enable the multilib repo in /etc/pacman.conf - look above"
sudo $EDITOR /etc/pacman.conf
yay -S steam --noconfirm --needed
yay -S protonup-qt-bin dosbox inotify-tools timidity scummvm xdotool xwinfo yad --noconfirm --needed