update dependency managment

This commit is contained in:
Alexander Navarro 2023-06-08 12:42:20 -04:00
parent 791e4b5961
commit 37f45fcce9
2 changed files with 10 additions and 0 deletions

View file

@ -5,10 +5,19 @@ dnf-save-install() {
sudo dnf install -y $(cat "$DOTS/exports/dnf.txt") 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() { upgrade() {
sudo dnf upgrade --refresh -y sudo dnf upgrade --refresh -y
} }
# where did I get this?
mayor-upgrade() { mayor-upgrade() {
if [[ $(dnf check-update -q) ]]; then if [[ $(dnf check-update -q) ]]; then
echo "There are updates pending, update and reboot? [y/N]" echo "There are updates pending, update and reboot? [y/N]"

View file

@ -1,3 +1,4 @@
bat
dnf-plugin-system-upgrade dnf-plugin-system-upgrade
duf duf
exa exa