Update update.sh
This commit is contained in:
parent
ea3f88e1f5
commit
bfdceaefd7
@ -7,6 +7,14 @@ read answer
|
|||||||
|
|
||||||
if [ "$answer" != "${answer#[Yy]}" ] ;then
|
if [ "$answer" != "${answer#[Yy]}" ] ;then
|
||||||
sudo apt upgrade -y
|
sudo apt upgrade -y
|
||||||
|
printf 'Would you like to autoremove (y/n)? '
|
||||||
|
read answer1
|
||||||
|
|
||||||
|
if [ "$answer1" != "${answer1#[Yy]}" ] ;then
|
||||||
|
sudo apt autoremove -y
|
||||||
|
else
|
||||||
|
echo Ok bye
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo Ok bye
|
echo Ok bye
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user