Move to Federated Gitea

This commit is contained in:
2026-04-29 06:49:40 -06:00
commit 0618ab178a
16 changed files with 804 additions and 0 deletions

51
coreupdate Executable file
View File

@@ -0,0 +1,51 @@
#!/bin/bash
# Print the logo
print_logo() {
cat << "EOF"
██
█ ██
██ ██████ █████ ██ █████ █████ ████ ██ █████ ██
██ ██ ██ ███ ███████ ██ ██ ██ ██ ██ ████████ ██ ██ ███████
█████ ██████ ██ ██ ██████ ██ ████████ ██ █ ███████ ██ ██
██ ██████ ███████ ██████ ██ ██████ ██████ ██████ ███████
EOF
}
# Clear screen and show logo
clear
print_logo
echo "Updating Arch..."
sudo pacman -Syu
echo "Updating AUR..."
if ! yay -Sua 2>/dev/null; then
echo "yay -Sua returned an error. Let's rebuild YAY."
sudo pacman -R yay
cd /tmp
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
cd ..
rm -rf yay
cd
yay -Sua --noconfirm
else
yay -Sua --noconfirm
fi
echo "Updating Flatpaks..."
flatpak update
echo "Updating Ruby and Rails..."
mise upgrade --bump ruby
mise reshim
gem update
echo "Done. You probably want to reboot your system..."