Skip to content

Commit ac0df03

Browse files
committed
New 'Update Snaps' Command
1 parent 33157c4 commit ac0df03

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Simple System Update
2-
A simple Shell Script to Update Linux using 'apt-get' commands.
2+
A simple Shell Script to Update the Ubuntu Linux Distro.
33

44

55
*Run in Terminal:* `sh SimpleSystemUpdate.sh`

SimpleSystemUpdate.sh

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,23 @@
22

33
#-------------------------------------------------------------------
44
# FILE NAME: SimpleSystemUpdate.sh
5-
# VERSION: 2.0.0
6-
# RELEASED: 27-APR-2020
5+
# VERSION: 2.1.0
6+
# RELEASED: 30-APR-2020
77
# URL: https://github.com/laidbackcoder/Simple-System-Update
88
#-------------------------------------------------------------------
99

10+
1011
clear
1112

13+
1214
echo "\e[1;32m "
1315
echo "SIMPLE"
1416
echo " _____ _____ _____ ___ __ __ _ _ ___ ___ _ _____ ___ "
1517
echo " / __\\ \\ / / __|_ _| __| \\/ | | | | | _ \\ \\ /_\\_ _| __|"
1618
echo " \\__ \\\\\ V /\\__ \\ | | | _|| |\\/| | | |_| | _/ |) / _ \\| | | _| "
1719
echo " |___/ |_| |___/ |_| |___|_| |_| \\___/|_| |___/_/ \\_\\_| |___|"
1820
echo " "
19-
echo "VERSION: 2.0.0 (27-APR-2020)"
21+
echo "VERSION: 2.1.0 (30-APR-2020)"
2022

2123

2224
#----------------------------------
@@ -59,11 +61,21 @@ sudo apt-get autoremove
5961

6062

6163
#----------------------------------
62-
# 5. Upgrade OS Version
64+
# 5. Update Snaps
65+
#----------------------------------
66+
echo "\e[1;34m"
67+
echo "\nUpdating Snaps..."
68+
echo "\e[0m"
69+
sudo snap refresh
70+
71+
72+
#----------------------------------
73+
# 6. Upgrade OS Version
6374
#
6475
# NOTE: The current version needs
6576
# to be up-to-date before the OS
66-
# version can be upgraded.
77+
# version can be upgraded - i.e.
78+
# steps 1-3.
6779
#----------------------------------
6880
echo "\e[1;34m"
6981
echo "\nUpgrading OS Version..."

0 commit comments

Comments
 (0)