-
Notifications
You must be signed in to change notification settings - Fork 0
/
Update&UpgradeTotal.bash
30 lines (24 loc) · 801 Bytes
/
Update&UpgradeTotal.bash
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
# Script para atualização e upgrade total: APT, Snap e Flatpak
echo "Iniciando atualização e upgrade do sistema..."
echo "Starting system update and upgrade..."
# Atualização e upgrade dos pacotes APT
echo "Atualizando pacotes APT..."
echo "Updating APT packages..."
/usr/bin/sudo /usr/bin/apt update
/usr/bin/sudo /usr/bin/apt upgrade -y
# Atualização dos snaps
echo "Atualizando snaps..."
echo "Updating snaps..."
/usr/bin/sudo /usr/bin/snap refresh
# Atualização dos flatpaks
echo "Atualizando flatpaks..."
echo "Updating flatpaks..."
/usr/bin/flatpak update -y
# Atualização do Guix
echo "Atualizando Guix..."
echo "Updating Guix..."
/usr/bin/sudo /usr/bin/guix pull
/usr/bin/sudo /usr/bin/guix package -u
echo "Atualizações concluídas."
echo "Updates completed."