Remove: godfather.sh: flatpak and Flathub are already set up, needed tuxc
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,54 +0,0 @@
|
||||
#!/bin/bash
|
||||
# GodFather - set up tools and programs for new distros
|
||||
|
||||
appsDir="Apps"
|
||||
tuxcPath="tuxc/"
|
||||
|
||||
|
||||
installFlatpak(){
|
||||
if ! command -v flatpak >/dev/null 2>&1;then
|
||||
if command -v xbps-install >/dev/null 2>&1;then
|
||||
sudo xbps-install -S flatpak
|
||||
|
||||
elif command -v pacman >/dev/null 2>&1;then
|
||||
sudo pacman -S --needed flatpak
|
||||
|
||||
elif command -v apt >/dev/null 2>&1;then
|
||||
sudo apt install flatpak
|
||||
else
|
||||
printf "\nUnsupported Operating System"
|
||||
fi
|
||||
else
|
||||
printf "\nFlatpak is already installed\n"
|
||||
fi
|
||||
}
|
||||
|
||||
addFlatpakRepo(){
|
||||
|
||||
if command -v flatpak >/dev/null 2>&1;then
|
||||
printf "\nAdding Flathub Repository..\n"
|
||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
else
|
||||
echo "Flatpak is not installed"
|
||||
fi
|
||||
}
|
||||
|
||||
getPackages(){
|
||||
printf "\nInstalling Shortwave..\n"
|
||||
flatpak install flathub de.haeckerfelix.Shortwave
|
||||
|
||||
printf "\nInstalling Adapta Theme...\n"
|
||||
flatpak install flathub org.gtk.Gtk3theme.Adapta-Nokto-Eta
|
||||
}
|
||||
|
||||
|
||||
|
||||
getDevTools(){
|
||||
cd ${tuxcPath} || return
|
||||
sudo ./tuxc i go
|
||||
}
|
||||
|
||||
getDevTools
|
||||
installFlatpak
|
||||
addFlatpakRepo
|
||||
getPackages
|
||||
Reference in New Issue
Block a user