The officially official Devuan Forum!

You are not logged in.

#1 2024-03-14 09:07:17

swanson
Member
Registered: 2020-04-22
Posts: 90  

Update script for script hobbyists

Just a hobby script I use daily (almost):

#!/bin/bash
echo "___________________ Apt uppdates database ___________________________"
apt update && apt list --upgradeable
echo "-----------> Upgrade? y/NO"
read ANSWER
if [ "$ANSWER" = "y" ]; then
apt upgrade -y
else
echo "No upgrades today!"
fi

I used to use another script but since the problems with kernel 6.1.018 and the Nvidia driver, I like to review the upgrades beforehand. Some upgrades are more system critical than others, and some look fishy too. You have to be prepared. smile

Online

#2 2024-03-14 22:22:50

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 590  

Re: Update script for script hobbyists

Nice one, thanks! :-)


pic from 1993, new guitar day.

Offline

Board footer