feat(up): update snap packages
This commit is contained in:
parent
d8240e42a7
commit
4e948cbf7e
2 changed files with 6 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ notes_dir="${HOME}/Notes"
|
||||||
scripts_dir="${HOME}/Projects/scripts"
|
scripts_dir="${HOME}/Projects/scripts"
|
||||||
editor="vim"
|
editor="vim"
|
||||||
skip_flatpak=true
|
skip_flatpak=true
|
||||||
|
skip_snap=true
|
||||||
|
|
||||||
# TODO: Add a flag for force using local?
|
# TODO: Add a flag for force using local?
|
||||||
# Ollama host URL or IP; for fully local, leave empty or comment out
|
# Ollama host URL or IP; for fully local, leave empty or comment out
|
||||||
|
|
|
||||||
5
up.sh
5
up.sh
|
|
@ -9,3 +9,8 @@ sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y
|
||||||
if ! [ $skip_flatpak ]; then
|
if ! [ $skip_flatpak ]; then
|
||||||
flatpak update -y
|
flatpak update -y
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# if $skip_flatpak is set in config file
|
||||||
|
if ! [ $skip_snap ]; then
|
||||||
|
sudo snap refresh
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue