Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-online committed Jan 7, 2025
1 parent 7776443 commit 826c019
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 13 deletions.
6 changes: 2 additions & 4 deletions src/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ set -e

echo "Running main.sh..."

# Пакеты
# Базовые пакеты для работы системы
./packages/apt_prepare.sh
./packages/base.sh # базовые пакеты для работы системы
./packages/base.sh
./packages/DE/gnome.sh
#./packages/DE/mate.sh
./packages/fpatpak.sh
./packages/apt_ending.sh

# Настройка
Expand Down
15 changes: 15 additions & 0 deletions src/packages/DE/GNOME/fpatpak.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

echo "Installing Flatpak"
apt-get install -y flatpak

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

echo "Updating Flatpak repositories..."
flatpak update -y

flatpak install -y flathub com.mattjakeman.ExtensionManager
flatpak install -y flathub com.github.tchx84.Flatseal


echo "End installing Flatpak"
7 changes: 6 additions & 1 deletion src/packages/DE/gnome.sh → src/packages/DE/GNOME/gnome.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

echo "Installing GNOME packages"

apt-get install -y gnome3-minimal gnome-tweaks
apt-get install -y gnome3-minimal gnome-tweaks fonts-ttf-liberation fonts-ttf-dejavu

# Обновление шрифтов
fc-cache -fv

# Неожиданно Alt linux в /var/lib/openvpn/dev записывает устройство urandom
# устройства запрещено включать в коммит, только файлы и сим-линки
Expand All @@ -13,4 +16,6 @@ ln -s /dev/urandom /var/lib/openvpn/dev/urandom
rm /usr/lib/systemd/system/display-manager.service
ln -s /usr/lib/systemd/system/gdm.service /usr/lib/systemd/system/display-manager.service

# Установка Flatpak приложений
./flatpak.sh
echo "End installing GNOME packages"
7 changes: 0 additions & 7 deletions src/packages/DE/mate.sh

This file was deleted.

3 changes: 2 additions & 1 deletion src/packages/base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ apt-get install -y \
rsync \
plymouth \
mesa-dri-drivers \
glxinfo
glxinfo \
ntp

echo "End installing base packages"

0 comments on commit 826c019

Please sign in to comment.