scripts/up.sh

16 lines
307 B
Bash
Executable file

#! /usr/bin/bash
# Load config file
. ${HOME}/ayo.conf
sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y
# if $skip_flatpak is set in config file
if ! [ $skip_flatpak ]; then
flatpak update -y
fi
# if $skip_flatpak is set in config file
if ! [ $skip_snap ]; then
sudo snap refresh
fi