feat(up): implement skip_flatpak
This commit is contained in:
parent
2ffe81d56a
commit
4617bed203
2 changed files with 8 additions and 8 deletions
|
|
@ -3,6 +3,7 @@ tasks_dir="${HOME}/Notes/Tasks"
|
||||||
archive_dir="${HOME}/Notes/Archive"
|
archive_dir="${HOME}/Notes/Archive"
|
||||||
scripts_dir="${HOME}/Projects/scripts"
|
scripts_dir="${HOME}/Projects/scripts"
|
||||||
editor="vim"
|
editor="vim"
|
||||||
|
skip_flatpak=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
|
||||||
|
|
|
||||||
15
up.sh
15
up.sh
|
|
@ -1,12 +1,11 @@
|
||||||
#! /usr/bin/bash
|
#! /usr/bin/bash
|
||||||
|
|
||||||
# Update commands
|
# Load config file
|
||||||
|
. ${HOME}/ayo.conf
|
||||||
# Load config & functions
|
|
||||||
#. ${HOME}/ayo.conf
|
|
||||||
#. ${scripts_dir}/functions.sh
|
|
||||||
|
|
||||||
#command=$1
|
|
||||||
|
|
||||||
sudo apt update && sudo apt upgrade -y
|
sudo apt update && sudo apt upgrade -y
|
||||||
flatpak update -y
|
|
||||||
|
# if $skip_flatpak is set in config file
|
||||||
|
if ! [ $skip_flatpak ]; then
|
||||||
|
flatpak update -y
|
||||||
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue