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"
|
||||
scripts_dir="${HOME}/Projects/scripts"
|
||||
editor="vim"
|
||||
skip_flatpak=true
|
||||
|
||||
# TODO: Add a flag for force using local?
|
||||
# Ollama host URL or IP; for fully local, leave empty or comment out
|
||||
|
|
|
|||
13
up.sh
13
up.sh
|
|
@ -1,12 +1,11 @@
|
|||
#! /usr/bin/bash
|
||||
|
||||
# Update commands
|
||||
|
||||
# Load config & functions
|
||||
#. ${HOME}/ayo.conf
|
||||
#. ${scripts_dir}/functions.sh
|
||||
|
||||
#command=$1
|
||||
# Load config file
|
||||
. ${HOME}/ayo.conf
|
||||
|
||||
sudo apt update && sudo apt upgrade -y
|
||||
|
||||
# if $skip_flatpak is set in config file
|
||||
if ! [ $skip_flatpak ]; then
|
||||
flatpak update -y
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue