#!/bin/bash # TODO should be applicable to other package managers (dnf, apt, ..) # v--- this is for potential future ideas # flatpak uninstall $(flatpak list --columns=application | grep -i turtle) main(){ if [[ "$(whoami)" != "root" ]];then bash ./error.sh "Must be root (current: $USER)"; exit 1; fi _update_pac bash ./dots.sh; bash ./cli.sh; bash ./non_pac.sh; bash ./apps.sh; bash ./post_setup.sh; } _update_pac(){ pacman -Fy --noconfirm pacman -Syu --noconfirm } main;