Update programs faster

This commit is contained in:
Christian Colglazier 2021-05-16 18:23:15 -04:00
parent 226da5bdeb
commit fba07b4d23
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ function checkUptoDate() {
# Returns installed programs with a given name.
function searchProgramInstalled() {
dnf list | grep $1
dnf list -q | grep $1
}
# Filters string to Semantic Versioning.

View File

@ -6,7 +6,7 @@
function dnfUpdate {
if command -v dnf &> /dev/null; then
echo Updating DNF...
sudo dnf update
sudo dnf update #--exclude=wine*
fi
}
@ -43,8 +43,8 @@ function manualUpdate {
updateProgram dragonframe ~/.config/scripts/installers/dragonframe-install.sh &
updateProgram reaper ~/.config/scripts/installers/reaper-install.sh &
updateProgram /opt/resolve/bin/resolve ~/.config/scripts/installers/resolve-install.sh &
updateProgram /opt/keeweb/keeweb ~/dotfiles/scripts/installers/keeweb-install.sh &
updateProgram yabridgectl ~/dotfiles/scripts/installers/yabridge-install.sh &
updateProgram /opt/keeweb/keeweb ~/.config/scripts/installers/keeweb-install.sh &
updateProgram yabridgectl ~/.config/scripts/installers/yabridge-install.sh &
wait
fi
}