Merge branch 'main' of codeberg.org:aleidk/dots

This commit is contained in:
Alexander Navarro 2023-06-11 19:05:08 -04:00
commit ec519c127f
7 changed files with 51 additions and 36 deletions

View file

@ -5,10 +5,19 @@ dnf-save-install() {
sudo dnf install -y $(cat "$DOTS/exports/dnf.txt")
}
dnf-load-export() {
while read -r line; do
sudo dnf copr enable -y "$line"
done <"$DOTS/exports/copr.txt"
sudo dnf install -y $(cat "$DOTS/exports/dnf.txt")
}
upgrade() {
sudo dnf upgrade --refresh -y
}
# where did I get this?
mayor-upgrade() {
if [[ $(dnf check-update -q) ]]; then
echo "There are updates pending, update and reboot? [y/N]"