From 81460abdcd466b48a426bdcb56331931330417a3 Mon Sep 17 00:00:00 2001 From: fithwum Date: Mon, 22 Dec 2025 08:51:19 -0800 Subject: [PATCH] Update main/setup.sh --- main/setup.sh | 86 +++++++++++++++++++++++++++------------------------ 1 file changed, 45 insertions(+), 41 deletions(-) diff --git a/main/setup.sh b/main/setup.sh index 2c00d55..ba9421e 100644 --- a/main/setup.sh +++ b/main/setup.sh @@ -1,6 +1,7 @@ #!/bin/bash # Copyright (c) 2022 fithwum # All rights reserved +set -eu USER=fithwum MAKEMKV_VERSION=1.18.2 @@ -29,17 +30,17 @@ echo " " # apt-get install --no-install-recommends -y ttf-mscorefonts-installer apt-get install --no-install-recommends -y putty # apt-get install --no-install-recommends -y nextcloud-desktop -# apt-get install --no-install-recommends -y syncthing +apt-get install --no-install-recommends -y syncthing apt-get install --no-install-recommends -y htop apt-get install --no-install-recommends -y iftop -apt-get install --no-install-recommends -y neofetch -# apt-get install --no-install-recommends -y gparted +apt-get install --no-install-recommends -y fastfetch +apt-get install --no-install-recommends -y gparted apt-get install --no-install-recommends -y keepassxc -# apt-get install --no-install-recommends -y filezilla +apt-get install --no-install-recommends -y filezilla apt-get install --no-install-recommends -y curl -# apt-get install --no-install-recommends -y chirp -# apt-get install --no-install-recommends -y satdump -# apt-get install --no-install-recommends -y rustdesk +apt-get install --no-install-recommends -y chirp +apt-get install --no-install-recommends -y satdump +#apt-get install --no-install-recommends -y rustdesk apt-get install --no-install-recommends -y lightdm-settings apt-get install --no-install-recommends -y gnome-calendar apt-get install --no-install-recommends -y libfuse2t64 @@ -81,10 +82,10 @@ echo "INFO ! Codeing things." echo " " # apt-get install --no-install-recommends -y docker docker.io docker-compose docker-clean docker-registry apt-get install --no-install-recommends -y git -# apt-get install --no-install-recommends -y gh -# apt-get install --no-install-recommends -y arduino -# apt-get install --no-install-recommends -y adb -apt-get install --no-install-recommends -y python +apt-get install --no-install-recommends -y gh +apt-get install --no-install-recommends -y arduino +apt-get install --no-install-recommends -y adb +apt-get install --no-install-recommends -y python3 # if dpkg -s code &> /dev/null # then @@ -106,19 +107,19 @@ if dpkg -s codium &> /dev/null wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | gpg --dearmor | dd of=/usr/share/keyrings/vscodium-archive-keyring.gpg echo -e 'Types: deb\nURIs: https://download.vscodium.com/debs\nSuites: vscodium\nComponents: main\nArchitectures: amd64 arm64\nSigned-by: /usr/share/keyrings/vscodium-archive-keyring.gpg' | tee /etc/apt/sources.list.d/vscodium.sources apt-get update - apt-get install --no-install-recommends -y install codium + apt-get --no-install-recommends -y install codium fi echo " " echo "INFO ! Media things." echo " " -# apt-get install --no-install-recommends -y audacity +apt-get install --no-install-recommends -y audacity apt-get install --no-install-recommends -y vlc -# apt-get install --no-install-recommends -y obs-studio -# apt-get install --no-install-recommends -y kdenlive +apt-get install --no-install-recommends -y obs-studio +apt-get install --no-install-recommends -y kdenlive apt-get install --no-install-recommends -y gimp -# apt-get install --no-install-recommends -y inkscape -# apt-get install --no-install-recommends -y asunder +apt-get install --no-install-recommends -y inkscape +apt-get install --no-install-recommends -y asunder # if dpkg -s jellyfin-media-player &> /dev/null # then @@ -140,8 +141,8 @@ if [ -e /home/${USER}/krita-${KRITA_VERSION}-x86_64.AppImage ] wget --no-cache --show-progress --progress=bar:force:noscroll "https://download.kde.org/stable/krita/${KRITA_VERSION}/krita-${KRITA_VERSION}-x86_64.AppImage" -O /home/${USER}/krita-${KRITA_VERSION}-x86_64.AppImage chown ${USER} /home/${USER}/krita-${KRITA_VERSION}-x86_64.AppImage chmod +x /home/${USER}/krita-${KRITA_VERSION}-x86_64.AppImage - - tee /home/${USER}/Desktop/krita.desktop < /dev/null apt-get update && apt-get install --no-install-recommends -y librewolf fi -# if dpkg -s brave-browser &> /dev/null -# then -# echo "INFO ! Brave installed ... moving on." -# else -# echo " " -# echo "WARNING ! Brave not installed ... will install now." -# curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg -# echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list -# apt -y update -# apt-get install --no-install-recommends -y brave-browser -# fi +if dpkg -s brave-browser &> /dev/null + then + echo "INFO ! Brave installed ... moving on." + else + echo " " + echo "WARNING ! Brave not installed ... will install now." + curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg + echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list + apt -y update + apt-get install --no-install-recommends -y brave-browser +fi echo " " echo "INFO ! Installing Video Wallpaper." @@ -254,7 +255,7 @@ if [ -e /usr/local/bin/winetricks ] else echo " " echo "WARNING ! winetricks not installed ... will install now." - apt-get install --no-install-recommends -y wine wine32 cabextract + apt-get install --no-install-recommends -y wine libwine cabextract wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks chmod +x winetricks mv -u winetricks /usr/local/bin @@ -287,7 +288,7 @@ if [ -e /home/${USER}/ProtonUp-Qt-${PROTON_VERSION}-x86_64.AppImage ] chown ${USER} /home/${USER}/ProtonUp-Qt-${PROTON_VERSION}-x86_64.AppImage chmod +x /home/${USER}/ProtonUp-Qt-${PROTON_VERSION}-x86_64.AppImage - tee /home/${USER}/Desktop/Protonup-QT.desktop <