#!/bin/bash
[ "$UID" != 0 ] && { exec sudo bash "$0" && exit 0; }
../fedora/setfont.sh || exit 1
echo "Установка Xfce и дополнительных пакетов на Oracle9."
./repo.sh && yum update -y || exit 1
yum groupinstall -y xfce-desktop development graphical-admin-tools fonts
yum groupinstall -y custom-environment virtualization-host-environment
yum install -y mousepad virt-manager gnome-calculator
yum install -y transmission chromium firefox links mc gpm
yum install -y xfce*plugin xfce4-about papirus-icon-theme*
yum install -y baobab gparted gnome-disk-utility gvfs gvfs-mtp dbus-x11
yum install -y xfce4-taskmanager gnome-system-monitor htop btop fastfetch
yum install -y p7zip p7zip-plugins unar file-roller gimp ristretto libreoffice
yum install -y ffmpeg mpv vlc vlc-plugins-freeworld x26*
../any/user-dirs.sh
../any/pkexec.sh

systemctl set-default graphical.target
