-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustomize
executable file
·84 lines (69 loc) · 2.5 KB
/
customize
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#!/usr/bin/sh
# bleUX, a user-centric desktop Linux distribution
# Copyright (C) 2023, 2024 Natan Junges <natanajunges@gmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
set -e -x
# Install bleUX repository
if [ ! -d /usr/local/bleux/ ]; then
wget https://github.com/natanjunges/bleux/releases/latest/download/bleux-repository.deb
sudo apt-get install -y ./bleux-repository.deb
rm bleux-repository.deb
fi
# Update bleUX repository
sudo apt-get update --no-list-cleanup -o Dir::Etc::SourceList="sources.list.d/bleux.list" -o Dir::Etc::SourceParts="-"
# Install bleUX packages
sudo apt-get install -y bleux-desktop
# Purge transitional packages
sudo apt-get purge -y firefox libwmf0.2-7-gtk thunderbird
# Initialize GDM X.org configuration
sudo feature init xorg
# Remove snap before adding gnome-software
sudo feature remove snap
# Add features
sudo feature add gnome-backgrounds
sudo feature add gnome-console
sudo feature add gnome-software
sudo feature add loupe
sudo feature add nala
sudo feature enable ufw
sudo feature add flatpak
feature add flatpak firefox
# Install normal packages in normal install
if dpkg-query -f '${db:Status-abbrev}' -W usb-creator-gtk 2> /dev/null | grep -q '^.i'; then
unminimize customize
fi
# Disable/remove features
sudo feature disable apt
sudo feature remove desktop-icons
sudo feature remove eog
sudo feature remove gnome-power-manager
sudo feature remove gnome-terminal
sudo feature remove libreoffice
sudo feature remove remmina
sudo feature remove rhythmbox
sudo feature remove seahorse
sudo feature remove shotwell
sudo feature remove transmission
sudo feature remove ubuntu-dock
sudo feature remove ubuntu-wallpapers
sudo feature disable xorg
# Finish installation of language support
sudo apt-get install -y $(check-language-support)
# Purge unused packages
sudo apt-get autoremove -y --purge
# Finish installation of flatpak runtimes
feature update flatpak
# Fetch nala mirrors
sudo feature fetch nala