update dependency managment
This commit is contained in:
parent
791e4b5961
commit
37f45fcce9
2 changed files with 10 additions and 0 deletions
|
|
@ -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]"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
bat
|
||||||
dnf-plugin-system-upgrade
|
dnf-plugin-system-upgrade
|
||||||
duf
|
duf
|
||||||
exa
|
exa
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue