deplacement test

This commit is contained in:
Michel Le Cocq 2025-03-05 07:55:10 +01:00
parent e434fd8244
commit 495080c52e

View File

@ -1,6 +1,6 @@
#!/bin/bash
# Time-stamp: <2025-03-04 09:35:37 nomad>
# Time-stamp: <2025-03-05 07:54:37 nomad>
# Michel Le Cocq <lecocq@ipgp.fr>
# <nomad@neuronfarm.net>
@ -304,15 +304,15 @@ function askupgrade()
if [[ "$answer" == "y" ]]
then
printf 'before upgrade : '
asksnap
printf '%s\n' 'apt -y upgrade'
if [ $1 -eq 1 ]
then
echo '\nAbove packages need full upgrade.\nRun full-upgrade :'
sudo apt -y full-upgrade
elif [ $1 -eq 0 ]
then
printf 'before upgrade : '
asksnap
printf '%s\n' 'apt -y upgrade'
sudo apt -y upgrade
fi
else