#!/bin/bash #=========================== # UMVIRT LINUX FROM SCRATCH #=========================== # Compilation script. # Network mode. #=========================== # Release: 0.2.3 # Package: plasma #=========================== # DB commit: f64c98382982c764c3ba140bfcbbc73d93096acd # APP commit: e09dc78145b10de9481608254eb2ac99efd0068b #=========================== echo "ULFS Package installation start" echo "===============================" echo "Package: plasma" echo "Release: 0.2.3" downloadFile() { local filename=$1 echo "Downloading $filename ..." if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl -k -O $filename else wget --no-check-certificate -nc $filename fi } echo "loading environment settings(profile)" . /etc/profile echo "checking config file" if [ -f $ULFS_CONFIG_FILE ] then echo "loading config file $ULFS_CONFIG_FILE..." . $ULFS_CONFIG_FILE fi #Creating log directory mkdir -p /var/log/ulfs-packages/plasma/ #Saving start timestamp date +%s > /var/log/ulfs-packages/plasma/start.time #Going to source directory... cd /sources #Checking dependances... #Checking wayland... if [ ! -f /var/cache/ulfs-packages/wayland ]; then echo "Dependance \"wayland\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/wayland/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/wayland/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/wayland ]; then echo "Dependance \"wayland\" is not installed. Exiting..." exit fi fi #Checking mesa... if [ ! -f /var/cache/ulfs-packages/mesa ]; then echo "Dependance \"mesa\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/mesa/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/mesa/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/mesa ]; then echo "Dependance \"mesa\" is not installed. Exiting..." exit fi fi #Checking libxcvt... if [ ! -f /var/cache/ulfs-packages/libxcvt ]; then echo "Dependance \"libxcvt\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/libxcvt/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/libxcvt/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/libxcvt ]; then echo "Dependance \"libxcvt\" is not installed. Exiting..." exit fi fi #Checking xwayland... if [ ! -f /var/cache/ulfs-packages/xwayland ]; then echo "Dependance \"xwayland\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/xwayland/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/xwayland/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/xwayland ]; then echo "Dependance \"xwayland\" is not installed. Exiting..." exit fi fi #Checking xf86-input-evdev... if [ ! -f /var/cache/ulfs-packages/xf86-input-evdev ]; then echo "Dependance \"xf86-input-evdev\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/xf86-input-evdev/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/xf86-input-evdev/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/xf86-input-evdev ]; then echo "Dependance \"xf86-input-evdev\" is not installed. Exiting..." exit fi fi #Checking libinput... if [ ! -f /var/cache/ulfs-packages/libinput ]; then echo "Dependance \"libinput\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/libinput/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/libinput/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/libinput ]; then echo "Dependance \"libinput\" is not installed. Exiting..." exit fi fi #Checking xf86-input-wacom... if [ ! -f /var/cache/ulfs-packages/xf86-input-wacom ]; then echo "Dependance \"xf86-input-wacom\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/xf86-input-wacom/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/xf86-input-wacom/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/xf86-input-wacom ]; then echo "Dependance \"xf86-input-wacom\" is not installed. Exiting..." exit fi fi #Checking gsettings-desktop-schemas... if [ ! -f /var/cache/ulfs-packages/gsettings-desktop-schemas ]; then echo "Dependance \"gsettings-desktop-schemas\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/gsettings-desktop-schemas/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/gsettings-desktop-schemas/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/gsettings-desktop-schemas ]; then echo "Dependance \"gsettings-desktop-schemas\" is not installed. Exiting..." exit fi fi #Checking gtk3... if [ ! -f /var/cache/ulfs-packages/gtk3 ]; then echo "Dependance \"gtk3\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/gtk3/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/gtk3/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/gtk3 ]; then echo "Dependance \"gtk3\" is not installed. Exiting..." exit fi fi #Checking Linux-PAM... if [ ! -f /var/cache/ulfs-packages/Linux-PAM ]; then echo "Dependance \"Linux-PAM\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/Linux-PAM/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/Linux-PAM/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/Linux-PAM ]; then echo "Dependance \"Linux-PAM\" is not installed. Exiting..." exit fi fi #Checking libxkbcommon... if [ ! -f /var/cache/ulfs-packages/libxkbcommon ]; then echo "Dependance \"libxkbcommon\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/libxkbcommon/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/libxkbcommon/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/libxkbcommon ]; then echo "Dependance \"libxkbcommon\" is not installed. Exiting..." exit fi fi #Checking libcanberra... if [ ! -f /var/cache/ulfs-packages/libcanberra ]; then echo "Dependance \"libcanberra\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/libcanberra/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/libcanberra/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/libcanberra ]; then echo "Dependance \"libcanberra\" is not installed. Exiting..." exit fi fi #Checking boost... if [ ! -f /var/cache/ulfs-packages/boost ]; then echo "Dependance \"boost\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/boost/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/boost/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/boost ]; then echo "Dependance \"boost\" is not installed. Exiting..." exit fi fi #Checking ffmpeg... if [ ! -f /var/cache/ulfs-packages/ffmpeg ]; then echo "Dependance \"ffmpeg\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/ffmpeg/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/ffmpeg/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/ffmpeg ]; then echo "Dependance \"ffmpeg\" is not installed. Exiting..." exit fi fi #Checking libnl... if [ ! -f /var/cache/ulfs-packages/libnl ]; then echo "Dependance \"libnl\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/libnl/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/libnl/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/libnl ]; then echo "Dependance \"libnl\" is not installed. Exiting..." exit fi fi #Checking libpcap... if [ ! -f /var/cache/ulfs-packages/libpcap ]; then echo "Dependance \"libpcap\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/libpcap/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/libpcap/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/libpcap ]; then echo "Dependance \"libpcap\" is not installed. Exiting..." exit fi fi #Checking libwacom... if [ ! -f /var/cache/ulfs-packages/libwacom ]; then echo "Dependance \"libwacom\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/libwacom/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/libwacom/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/libwacom ]; then echo "Dependance \"libwacom\" is not installed. Exiting..." exit fi fi #Checking accountsservice... if [ ! -f /var/cache/ulfs-packages/accountsservice ]; then echo "Dependance \"accountsservice\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/accountsservice/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/accountsservice/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/accountsservice ]; then echo "Dependance \"accountsservice\" is not installed. Exiting..." exit fi fi #Checking libpwquality... if [ ! -f /var/cache/ulfs-packages/libpwquality ]; then echo "Dependance \"libpwquality\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/libpwquality/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/libpwquality/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/libpwquality ]; then echo "Dependance \"libpwquality\" is not installed. Exiting..." exit fi fi #Checking pipewire... if [ ! -f /var/cache/ulfs-packages/pipewire ]; then echo "Dependance \"pipewire\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/pipewire/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/pipewire/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/pipewire ]; then echo "Dependance \"pipewire\" is not installed. Exiting..." exit fi fi #Checking sassc... if [ ! -f /var/cache/ulfs-packages/sassc ]; then echo "Dependance \"sassc\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/sassc/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/sassc/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/sassc ]; then echo "Dependance \"sassc\" is not installed. Exiting..." exit fi fi #Checking python3-urllib3... if [ ! -f /var/cache/ulfs-packages/python3-urllib3 ]; then echo "Dependance \"python3-urllib3\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/python3-urllib3/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/python3-urllib3/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/python3-urllib3 ]; then echo "Dependance \"python3-urllib3\" is not installed. Exiting..." exit fi fi #Checking smartmontools... if [ ! -f /var/cache/ulfs-packages/smartmontools ]; then echo "Dependance \"smartmontools\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/smartmontools/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/smartmontools/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/smartmontools ]; then echo "Dependance \"smartmontools\" is not installed. Exiting..." exit fi fi #Checking pciutils... if [ ! -f /var/cache/ulfs-packages/pciutils ]; then echo "Dependance \"pciutils\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/pciutils/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/pciutils/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/pciutils ]; then echo "Dependance \"pciutils\" is not installed. Exiting..." exit fi fi #Checking taglib... if [ ! -f /var/cache/ulfs-packages/taglib ]; then echo "Dependance \"taglib\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/taglib/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/taglib/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/taglib ]; then echo "Dependance \"taglib\" is not installed. Exiting..." exit fi fi #Checking xdotool... if [ ! -f /var/cache/ulfs-packages/xdotool ]; then echo "Dependance \"xdotool\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/xdotool/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/xdotool/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/xdotool ]; then echo "Dependance \"xdotool\" is not installed. Exiting..." exit fi fi #Checking libdisplay-info... if [ ! -f /var/cache/ulfs-packages/libdisplay-info ]; then echo "Dependance \"libdisplay-info\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/libdisplay-info/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/libdisplay-info/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/libdisplay-info ]; then echo "Dependance \"libdisplay-info\" is not installed. Exiting..." exit fi fi #Checking opencv... if [ ! -f /var/cache/ulfs-packages/opencv ]; then echo "Dependance \"opencv\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/opencv/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/opencv/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/opencv ]; then echo "Dependance \"opencv\" is not installed. Exiting..." exit fi fi #Checking KF6... if [ ! -f /var/cache/ulfs-packages/KF6 ]; then echo "Dependance \"KF6\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/KF6/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/KF6/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/KF6 ]; then echo "Dependance \"KF6\" is not installed. Exiting..." exit fi fi #Checking breeze-icons... if [ ! -f /var/cache/ulfs-packages/breeze-icons ]; then echo "Dependance \"breeze-icons\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/breeze-icons/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/breeze-icons/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/breeze-icons ]; then echo "Dependance \"breeze-icons\" is not installed. Exiting..." exit fi fi #Checking qca... if [ ! -f /var/cache/ulfs-packages/qca ]; then echo "Dependance \"qca\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/qca/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/qca/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/qca ]; then echo "Dependance \"qca\" is not installed. Exiting..." exit fi fi #Checking kirigami-addons... if [ ! -f /var/cache/ulfs-packages/kirigami-addons ]; then echo "Dependance \"kirigami-addons\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kirigami-addons/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kirigami-addons/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kirigami-addons ]; then echo "Dependance \"kirigami-addons\" is not installed. Exiting..." exit fi fi #Checking pulseaudio-qt... if [ ! -f /var/cache/ulfs-packages/pulseaudio-qt ]; then echo "Dependance \"pulseaudio-qt\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/pulseaudio-qt/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/pulseaudio-qt/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/pulseaudio-qt ]; then echo "Dependance \"pulseaudio-qt\" is not installed. Exiting..." exit fi fi #Checking qcoro... if [ ! -f /var/cache/ulfs-packages/qcoro ]; then echo "Dependance \"qcoro\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/qcoro/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/qcoro/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/qcoro ]; then echo "Dependance \"qcoro\" is not installed. Exiting..." exit fi fi #Checking phonon... if [ ! -f /var/cache/ulfs-packages/phonon ]; then echo "Dependance \"phonon\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/phonon/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/phonon/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/phonon ]; then echo "Dependance \"phonon\" is not installed. Exiting..." exit fi fi #Checking libqalculate... if [ ! -f /var/cache/ulfs-packages/libqalculate ]; then echo "Dependance \"libqalculate\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/libqalculate/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/libqalculate/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/libqalculate ]; then echo "Dependance \"libqalculate\" is not installed. Exiting..." exit fi fi #Checking lm-sensors... if [ ! -f /var/cache/ulfs-packages/lm-sensors ]; then echo "Dependance \"lm-sensors\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/lm-sensors/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/lm-sensors/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/lm-sensors ]; then echo "Dependance \"lm-sensors\" is not installed. Exiting..." exit fi fi #Checking oxygen-icons... if [ ! -f /var/cache/ulfs-packages/oxygen-icons ]; then echo "Dependance \"oxygen-icons\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/oxygen-icons/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/oxygen-icons/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/oxygen-icons ]; then echo "Dependance \"oxygen-icons\" is not installed. Exiting..." exit fi fi #Checking power-profiles-daemon... if [ ! -f /var/cache/ulfs-packages/power-profiles-daemon ]; then echo "Dependance \"power-profiles-daemon\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/power-profiles-daemon/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/power-profiles-daemon/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/power-profiles-daemon ]; then echo "Dependance \"power-profiles-daemon\" is not installed. Exiting..." exit fi fi #Checking python3-psutil... if [ ! -f /var/cache/ulfs-packages/python3-psutil ]; then echo "Dependance \"python3-psutil\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/python3-psutil/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/python3-psutil/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/python3-psutil ]; then echo "Dependance \"python3-psutil\" is not installed. Exiting..." exit fi fi #Checking python3-pygdbmi... if [ ! -f /var/cache/ulfs-packages/python3-pygdbmi ]; then echo "Dependance \"python3-pygdbmi\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/python3-pygdbmi/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/python3-pygdbmi/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/python3-pygdbmi ]; then echo "Dependance \"python3-pygdbmi\" is not installed. Exiting..." exit fi fi #Checking python3-sentry_sdk... if [ ! -f /var/cache/ulfs-packages/python3-sentry_sdk ]; then echo "Dependance \"python3-sentry_sdk\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/python3-sentry_sdk/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/python3-sentry_sdk/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/python3-sentry_sdk ]; then echo "Dependance \"python3-sentry_sdk\" is not installed. Exiting..." exit fi fi #Checking xdg-desktop-portal... if [ ! -f /var/cache/ulfs-packages/xdg-desktop-portal ]; then echo "Dependance \"xdg-desktop-portal\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/xdg-desktop-portal/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/xdg-desktop-portal/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/xdg-desktop-portal ]; then echo "Dependance \"xdg-desktop-portal\" is not installed. Exiting..." exit fi fi #Checking kdecoration... if [ ! -f /var/cache/ulfs-packages/kdecoration ]; then echo "Dependance \"kdecoration\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kdecoration/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kdecoration/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kdecoration ]; then echo "Dependance \"kdecoration\" is not installed. Exiting..." exit fi fi #Checking libkscreen... if [ ! -f /var/cache/ulfs-packages/libkscreen ]; then echo "Dependance \"libkscreen\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/libkscreen/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/libkscreen/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/libkscreen ]; then echo "Dependance \"libkscreen\" is not installed. Exiting..." exit fi fi #Checking libksysguard... if [ ! -f /var/cache/ulfs-packages/libksysguard ]; then echo "Dependance \"libksysguard\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/libksysguard/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/libksysguard/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/libksysguard ]; then echo "Dependance \"libksysguard\" is not installed. Exiting..." exit fi fi #Checking breeze... if [ ! -f /var/cache/ulfs-packages/breeze ]; then echo "Dependance \"breeze\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/breeze/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/breeze/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/breeze ]; then echo "Dependance \"breeze\" is not installed. Exiting..." exit fi fi #Checking breeze-gtk... if [ ! -f /var/cache/ulfs-packages/breeze-gtk ]; then echo "Dependance \"breeze-gtk\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/breeze-gtk/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/breeze-gtk/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/breeze-gtk ]; then echo "Dependance \"breeze-gtk\" is not installed. Exiting..." exit fi fi #Checking layer-shell-qt... if [ ! -f /var/cache/ulfs-packages/layer-shell-qt ]; then echo "Dependance \"layer-shell-qt\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/layer-shell-qt/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/layer-shell-qt/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/layer-shell-qt ]; then echo "Dependance \"layer-shell-qt\" is not installed. Exiting..." exit fi fi #Checking plasma-activities... if [ ! -f /var/cache/ulfs-packages/plasma-activities ]; then echo "Dependance \"plasma-activities\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/plasma-activities/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/plasma-activities/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/plasma-activities ]; then echo "Dependance \"plasma-activities\" is not installed. Exiting..." exit fi fi #Checking libplasma... if [ ! -f /var/cache/ulfs-packages/libplasma ]; then echo "Dependance \"libplasma\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/libplasma/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/libplasma/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/libplasma ]; then echo "Dependance \"libplasma\" is not installed. Exiting..." exit fi fi #Checking kscreenlocker... if [ ! -f /var/cache/ulfs-packages/kscreenlocker ]; then echo "Dependance \"kscreenlocker\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kscreenlocker/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kscreenlocker/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kscreenlocker ]; then echo "Dependance \"kscreenlocker\" is not installed. Exiting..." exit fi fi #Checking kinfocenter... if [ ! -f /var/cache/ulfs-packages/kinfocenter ]; then echo "Dependance \"kinfocenter\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kinfocenter/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kinfocenter/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kinfocenter ]; then echo "Dependance \"kinfocenter\" is not installed. Exiting..." exit fi fi #Checking kglobalacceld... if [ ! -f /var/cache/ulfs-packages/kglobalacceld ]; then echo "Dependance \"kglobalacceld\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kglobalacceld/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kglobalacceld/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kglobalacceld ]; then echo "Dependance \"kglobalacceld\" is not installed. Exiting..." exit fi fi #Checking kwayland... if [ ! -f /var/cache/ulfs-packages/kwayland ]; then echo "Dependance \"kwayland\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kwayland/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kwayland/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kwayland ]; then echo "Dependance \"kwayland\" is not installed. Exiting..." exit fi fi #Checking kwin... if [ ! -f /var/cache/ulfs-packages/kwin ]; then echo "Dependance \"kwin\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kwin/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kwin/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kwin ]; then echo "Dependance \"kwin\" is not installed. Exiting..." exit fi fi #Checking plasma5support... if [ ! -f /var/cache/ulfs-packages/plasma5support ]; then echo "Dependance \"plasma5support\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/plasma5support/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/plasma5support/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/plasma5support ]; then echo "Dependance \"plasma5support\" is not installed. Exiting..." exit fi fi #Checking plasma-activities-stats... if [ ! -f /var/cache/ulfs-packages/plasma-activities-stats ]; then echo "Dependance \"plasma-activities-stats\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/plasma-activities-stats/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/plasma-activities-stats/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/plasma-activities-stats ]; then echo "Dependance \"plasma-activities-stats\" is not installed. Exiting..." exit fi fi #Checking kpipewire... if [ ! -f /var/cache/ulfs-packages/kpipewire ]; then echo "Dependance \"kpipewire\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kpipewire/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kpipewire/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kpipewire ]; then echo "Dependance \"kpipewire\" is not installed. Exiting..." exit fi fi #Checking plasma-workspace... if [ ! -f /var/cache/ulfs-packages/plasma-workspace ]; then echo "Dependance \"plasma-workspace\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/plasma-workspace/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/plasma-workspace/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/plasma-workspace ]; then echo "Dependance \"plasma-workspace\" is not installed. Exiting..." exit fi fi #Checking plasma-disks... if [ ! -f /var/cache/ulfs-packages/plasma-disks ]; then echo "Dependance \"plasma-disks\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/plasma-disks/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/plasma-disks/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/plasma-disks ]; then echo "Dependance \"plasma-disks\" is not installed. Exiting..." exit fi fi #Checking bluedevil... if [ ! -f /var/cache/ulfs-packages/bluedevil ]; then echo "Dependance \"bluedevil\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/bluedevil/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/bluedevil/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/bluedevil ]; then echo "Dependance \"bluedevil\" is not installed. Exiting..." exit fi fi #Checking kde-gtk-config... if [ ! -f /var/cache/ulfs-packages/kde-gtk-config ]; then echo "Dependance \"kde-gtk-config\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kde-gtk-config/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kde-gtk-config/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kde-gtk-config ]; then echo "Dependance \"kde-gtk-config\" is not installed. Exiting..." exit fi fi #Checking kmenuedit... if [ ! -f /var/cache/ulfs-packages/kmenuedit ]; then echo "Dependance \"kmenuedit\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kmenuedit/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kmenuedit/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kmenuedit ]; then echo "Dependance \"kmenuedit\" is not installed. Exiting..." exit fi fi #Checking kscreen... if [ ! -f /var/cache/ulfs-packages/kscreen ]; then echo "Dependance \"kscreen\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kscreen/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kscreen/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kscreen ]; then echo "Dependance \"kscreen\" is not installed. Exiting..." exit fi fi #Checking kwallet-pam... if [ ! -f /var/cache/ulfs-packages/kwallet-pam ]; then echo "Dependance \"kwallet-pam\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kwallet-pam/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kwallet-pam/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kwallet-pam ]; then echo "Dependance \"kwallet-pam\" is not installed. Exiting..." exit fi fi #Checking kwrited... if [ ! -f /var/cache/ulfs-packages/kwrited ]; then echo "Dependance \"kwrited\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kwrited/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kwrited/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kwrited ]; then echo "Dependance \"kwrited\" is not installed. Exiting..." exit fi fi #Checking milou... if [ ! -f /var/cache/ulfs-packages/milou ]; then echo "Dependance \"milou\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/milou/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/milou/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/milou ]; then echo "Dependance \"milou\" is not installed. Exiting..." exit fi fi #Checking plasma-nm... if [ ! -f /var/cache/ulfs-packages/plasma-nm ]; then echo "Dependance \"plasma-nm\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/plasma-nm/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/plasma-nm/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/plasma-nm ]; then echo "Dependance \"plasma-nm\" is not installed. Exiting..." exit fi fi #Checking plasma-pa... if [ ! -f /var/cache/ulfs-packages/plasma-pa ]; then echo "Dependance \"plasma-pa\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/plasma-pa/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/plasma-pa/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/plasma-pa ]; then echo "Dependance \"plasma-pa\" is not installed. Exiting..." exit fi fi #Checking plasma-workspace-wallpapers... if [ ! -f /var/cache/ulfs-packages/plasma-workspace-wallpapers ]; then echo "Dependance \"plasma-workspace-wallpapers\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/plasma-workspace-wallpapers/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/plasma-workspace-wallpapers/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/plasma-workspace-wallpapers ]; then echo "Dependance \"plasma-workspace-wallpapers\" is not installed. Exiting..." exit fi fi #Checking polkit-kde-agent... if [ ! -f /var/cache/ulfs-packages/polkit-kde-agent ]; then echo "Dependance \"polkit-kde-agent\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/polkit-kde-agent/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/polkit-kde-agent/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/polkit-kde-agent ]; then echo "Dependance \"polkit-kde-agent\" is not installed. Exiting..." exit fi fi #Checking powerdevil... if [ ! -f /var/cache/ulfs-packages/powerdevil ]; then echo "Dependance \"powerdevil\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/powerdevil/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/powerdevil/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/powerdevil ]; then echo "Dependance \"powerdevil\" is not installed. Exiting..." exit fi fi #Checking plasma-desktop... if [ ! -f /var/cache/ulfs-packages/plasma-desktop ]; then echo "Dependance \"plasma-desktop\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/plasma-desktop/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/plasma-desktop/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/plasma-desktop ]; then echo "Dependance \"plasma-desktop\" is not installed. Exiting..." exit fi fi #Checking kgamma... if [ ! -f /var/cache/ulfs-packages/kgamma ]; then echo "Dependance \"kgamma\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kgamma/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kgamma/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kgamma ]; then echo "Dependance \"kgamma\" is not installed. Exiting..." exit fi fi #Checking ksshaskpass... if [ ! -f /var/cache/ulfs-packages/ksshaskpass ]; then echo "Dependance \"ksshaskpass\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/ksshaskpass/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/ksshaskpass/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/ksshaskpass ]; then echo "Dependance \"ksshaskpass\" is not installed. Exiting..." exit fi fi #Checking sddm-kcm... if [ ! -f /var/cache/ulfs-packages/sddm-kcm ]; then echo "Dependance \"sddm-kcm\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/sddm-kcm/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/sddm-kcm/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/sddm-kcm ]; then echo "Dependance \"sddm-kcm\" is not installed. Exiting..." exit fi fi #Checking kactivitymanagerd... if [ ! -f /var/cache/ulfs-packages/kactivitymanagerd ]; then echo "Dependance \"kactivitymanagerd\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kactivitymanagerd/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kactivitymanagerd/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kactivitymanagerd ]; then echo "Dependance \"kactivitymanagerd\" is not installed. Exiting..." exit fi fi #Checking plasma-integration... if [ ! -f /var/cache/ulfs-packages/plasma-integration ]; then echo "Dependance \"plasma-integration\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/plasma-integration/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/plasma-integration/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/plasma-integration ]; then echo "Dependance \"plasma-integration\" is not installed. Exiting..." exit fi fi #Checking xdg-desktop-portal-kde... if [ ! -f /var/cache/ulfs-packages/xdg-desktop-portal-kde ]; then echo "Dependance \"xdg-desktop-portal-kde\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/xdg-desktop-portal-kde/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/xdg-desktop-portal-kde/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/xdg-desktop-portal-kde ]; then echo "Dependance \"xdg-desktop-portal-kde\" is not installed. Exiting..." exit fi fi #Checking drkonqi... if [ ! -f /var/cache/ulfs-packages/drkonqi ]; then echo "Dependance \"drkonqi\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/drkonqi/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/drkonqi/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/drkonqi ]; then echo "Dependance \"drkonqi\" is not installed. Exiting..." exit fi fi #Checking plasma-vault... if [ ! -f /var/cache/ulfs-packages/plasma-vault ]; then echo "Dependance \"plasma-vault\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/plasma-vault/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/plasma-vault/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/plasma-vault ]; then echo "Dependance \"plasma-vault\" is not installed. Exiting..." exit fi fi #Checking kde-cli-tools... if [ ! -f /var/cache/ulfs-packages/kde-cli-tools ]; then echo "Dependance \"kde-cli-tools\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kde-cli-tools/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kde-cli-tools/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kde-cli-tools ]; then echo "Dependance \"kde-cli-tools\" is not installed. Exiting..." exit fi fi #Checking systemsettings... if [ ! -f /var/cache/ulfs-packages/systemsettings ]; then echo "Dependance \"systemsettings\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/systemsettings/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/systemsettings/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/systemsettings ]; then echo "Dependance \"systemsettings\" is not installed. Exiting..." exit fi fi #Checking plasma-thunderbolt... if [ ! -f /var/cache/ulfs-packages/plasma-thunderbolt ]; then echo "Dependance \"plasma-thunderbolt\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/plasma-thunderbolt/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/plasma-thunderbolt/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/plasma-thunderbolt ]; then echo "Dependance \"plasma-thunderbolt\" is not installed. Exiting..." exit fi fi #Checking plasma-firewall... if [ ! -f /var/cache/ulfs-packages/plasma-firewall ]; then echo "Dependance \"plasma-firewall\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/plasma-firewall/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/plasma-firewall/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/plasma-firewall ]; then echo "Dependance \"plasma-firewall\" is not installed. Exiting..." exit fi fi #Checking plasma-systemmonitor... if [ ! -f /var/cache/ulfs-packages/plasma-systemmonitor ]; then echo "Dependance \"plasma-systemmonitor\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/plasma-systemmonitor/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/plasma-systemmonitor/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/plasma-systemmonitor ]; then echo "Dependance \"plasma-systemmonitor\" is not installed. Exiting..." exit fi fi #Checking qqc2-breeze-style... if [ ! -f /var/cache/ulfs-packages/qqc2-breeze-style ]; then echo "Dependance \"qqc2-breeze-style\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/qqc2-breeze-style/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/qqc2-breeze-style/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/qqc2-breeze-style ]; then echo "Dependance \"qqc2-breeze-style\" is not installed. Exiting..." exit fi fi #Checking ksystemstats... if [ ! -f /var/cache/ulfs-packages/ksystemstats ]; then echo "Dependance \"ksystemstats\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/ksystemstats/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/ksystemstats/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/ksystemstats ]; then echo "Dependance \"ksystemstats\" is not installed. Exiting..." exit fi fi #Checking oxygen-sounds... if [ ! -f /var/cache/ulfs-packages/oxygen-sounds ]; then echo "Dependance \"oxygen-sounds\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/oxygen-sounds/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/oxygen-sounds/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/oxygen-sounds ]; then echo "Dependance \"oxygen-sounds\" is not installed. Exiting..." exit fi fi #Checking kdeplasma-addons... if [ ! -f /var/cache/ulfs-packages/kdeplasma-addons ]; then echo "Dependance \"kdeplasma-addons\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kdeplasma-addons/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kdeplasma-addons/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kdeplasma-addons ]; then echo "Dependance \"kdeplasma-addons\" is not installed. Exiting..." exit fi fi #Checking plasma-welcome... if [ ! -f /var/cache/ulfs-packages/plasma-welcome ]; then echo "Dependance \"plasma-welcome\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/plasma-welcome/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/plasma-welcome/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/plasma-welcome ]; then echo "Dependance \"plasma-welcome\" is not installed. Exiting..." exit fi fi #Checking ocean-sound-theme... if [ ! -f /var/cache/ulfs-packages/ocean-sound-theme ]; then echo "Dependance \"ocean-sound-theme\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/ocean-sound-theme/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/ocean-sound-theme/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/ocean-sound-theme ]; then echo "Dependance \"ocean-sound-theme\" is not installed. Exiting..." exit fi fi #Checking print-manager... if [ ! -f /var/cache/ulfs-packages/print-manager ]; then echo "Dependance \"print-manager\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/print-manager/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/print-manager/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/print-manager ]; then echo "Dependance \"print-manager\" is not installed. Exiting..." exit fi fi #Checking wacomtablet... if [ ! -f /var/cache/ulfs-packages/wacomtablet ]; then echo "Dependance \"wacomtablet\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/wacomtablet/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/wacomtablet/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/wacomtablet ]; then echo "Dependance \"wacomtablet\" is not installed. Exiting..." exit fi fi #Checking oxygen... if [ ! -f /var/cache/ulfs-packages/oxygen ]; then echo "Dependance \"oxygen\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/oxygen/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/oxygen/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/oxygen ]; then echo "Dependance \"oxygen\" is not installed. Exiting..." exit fi fi #Checking spectacle... if [ ! -f /var/cache/ulfs-packages/spectacle ]; then echo "Dependance \"spectacle\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/spectacle/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/spectacle/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/spectacle ]; then echo "Dependance \"spectacle\" is not installed. Exiting..." exit fi fi #Saving configuration timestamp date +%s > /var/log/ulfs-packages/plasma/configure.time #Saving build timestamp date +%s > /var/log/ulfs-packages/plasma/build.time #Saving install timestamp date +%s > /var/log/ulfs-packages/plasma/install.time #Running install script... # Setup xsessions (X11 sessions) install -dvm 755 /usr/share/xsessions cd /usr/share/xsessions [ -e plasma.desktop ] || ln -sfv $KF6_PREFIX/share/xsessions/plasmax11.desktop # Setup wayland-sessions install -dvm 755 /usr/share/wayland-sessions cd /usr/share/wayland-sessions [ -e plasmawayland.desktop ] || ln -sfv $KF6_PREFIX/share/wayland-sessions/plasma.desktop # Setup xdg-desktop-portal install -dvm 755 /usr/share/xdg-desktop-portal cd /usr/share/xdg-desktop-portal [ -e kde-portals.conf ] || ln -sfv $KF6_PREFIX/share/xdg-desktop-portal/kde-portals.conf # Setup kde portal install -dvm 755 /usr/share/xdg-desktop-portal/portals cd /usr/share/xdg-desktop-portal/portals [ -e kde.portal ] || ln -sfv $KF6_PREFIX/share/xdg-desktop-portal/portals/kde.portal cat > /etc/pam.d/kde << "EOF" # Begin /etc/pam.d/kde auth requisite pam_nologin.so auth required pam_env.so auth required pam_succeed_if.so uid >= 1000 quiet auth include system-auth account include system-account password include system-password session include system-session # End /etc/pam.d/kde EOF cat > /etc/pam.d/kde-np << "EOF" # Begin /etc/pam.d/kde-np auth requisite pam_nologin.so auth required pam_env.so auth required pam_succeed_if.so uid >= 1000 quiet auth required pam_permit.so account include system-account password include system-password session include system-session # End /etc/pam.d/kde-np EOF cat > /etc/pam.d/kscreensaver << "EOF" # Begin /etc/pam.d/kscreensaver auth include system-auth account include system-account # End /etc/pam.d/kscreensaver EOF #Saving finish timestamp date +%s > /var/log/ulfs-packages/plasma/finish.time #Marking package as installed... mkdir -p /var/cache/ulfs-packages USER=`whoami` if [ "$USER" == "root" ] ; then touch /var/cache/ulfs-packages/plasma else sudo touch /var/cache/ulfs-packages/plasma fi #Calculate prepare time a=`cat /var/log/ulfs-packages/plasma/start.time` b=`cat /var/log/ulfs-packages/plasma/configure.time` dp=$(($b-$a)) #Calculate delta time a=`cat /var/log/ulfs-packages/plasma/configure.time` b=`cat /var/log/ulfs-packages/plasma/finish.time` db=$(($b-$a)) echo $db > /var/log/ulfs-packages/plasma/delta.time #Report echo "" echo "ULFS Package installation report" echo "================================" echo "Package: plasma" echo "Release: 0.2.3" echo "Prepare time: $dp sec." echo "Build time: $db sec." #End of script