-
Notifications
You must be signed in to change notification settings - Fork 1
/
run.sh
executable file
·61 lines (42 loc) · 1.01 KB
/
run.sh
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/bin/bash
programs_to_remove() {
./programs_to_remove.sh
}
programs_to_install_with_apt() {
./programs_to_install_with_apt.sh
}
programs_to_install_with_snap() {
./programs_to_install_with_snap.sh
}
disable_locks() {
sudo rm /var/lib/apt/lists/lock
sudo rm /var/lib/dpkg/lock
sudo rm /var/lib/dpkg/lock-frontend
sudo rm /var/cache/apt/archives/lock
}
enable_locks() {
sudo dpkg --configure -a
}
update_upgrade() {
sudo apt update && sudo apt upgrade -y && sudo apt dist-upgrade -y
}
autoremove_autoclean() {
sudo apt autoremove -y && sudo apt autoclean -y
}
update_upgrade
disable_locks
update_upgrade
# install ttf-mscorefonts-installer
sudo apt install ttf-mscorefonts-installer -y
programs_to_remove
update_upgrade
autoremove_autoclean
programs_to_install_with_apt
programs_to_install_with_snap
for program in programs/*.sh; do
./$program
done
update_upgrade
autoremove_autoclean
enable_locks
gsettings set org.freedesktop.ibus.panel.emoji unicode-hotkey "@as []"