#!/bin/bash #=========================== # UMVIRT LINUX FROM SCRATCH #=========================== # Compilation script. # Network mode. #=========================== # Release: 0.2.3 # Package: KF6 #=========================== # DB commit: f64c98382982c764c3ba140bfcbbc73d93096acd # APP commit: e09dc78145b10de9481608254eb2ac99efd0068b #=========================== echo "ULFS Package installation start" echo "===============================" echo "Package: KF6" 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/KF6/ #Saving start timestamp date +%s > /var/log/ulfs-packages/KF6/start.time #Going to source directory... cd /sources #Checking dependances... #Checking libxslt... if [ ! -f /var/cache/ulfs-packages/libxslt ]; then echo "Dependance \"libxslt\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/libxslt/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/libxslt/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/libxslt ]; then echo "Dependance \"libxslt\" is not installed. Exiting..." exit fi fi #Checking docbook-xml... if [ ! -f /var/cache/ulfs-packages/docbook-xml ]; then echo "Dependance \"docbook-xml\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/docbook-xml/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/docbook-xml/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/docbook-xml ]; then echo "Dependance \"docbook-xml\" is not installed. Exiting..." exit fi fi #Checking docbook-xsl-nons... if [ ! -f /var/cache/ulfs-packages/docbook-xsl-nons ]; then echo "Dependance \"docbook-xsl-nons\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/docbook-xsl-nons/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/docbook-xsl-nons/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/docbook-xsl-nons ]; then echo "Dependance \"docbook-xsl-nons\" is not installed. Exiting..." exit fi fi #Checking shared-mime-info... if [ ! -f /var/cache/ulfs-packages/shared-mime-info ]; then echo "Dependance \"shared-mime-info\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/shared-mime-info/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/shared-mime-info/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/shared-mime-info ]; then echo "Dependance \"shared-mime-info\" is not installed. Exiting..." exit fi fi #Checking libgcrypt... if [ ! -f /var/cache/ulfs-packages/libgcrypt ]; then echo "Dependance \"libgcrypt\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/libgcrypt/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/libgcrypt/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/libgcrypt ]; then echo "Dependance \"libgcrypt\" is not installed. Exiting..." exit fi fi #Checking aspell... if [ ! -f /var/cache/ulfs-packages/aspell ]; then echo "Dependance \"aspell\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/aspell/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/aspell/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/aspell ]; then echo "Dependance \"aspell\" is not installed. Exiting..." exit fi fi #Checking ModemManager... if [ ! -f /var/cache/ulfs-packages/ModemManager ]; then echo "Dependance \"ModemManager\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/ModemManager/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/ModemManager/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/ModemManager ]; then echo "Dependance \"ModemManager\" is not installed. Exiting..." exit fi fi #Checking avahi... if [ ! -f /var/cache/ulfs-packages/avahi ]; then echo "Dependance \"avahi\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/avahi/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/avahi/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/avahi ]; then echo "Dependance \"avahi\" is not installed. Exiting..." exit fi fi #Checking libical... if [ ! -f /var/cache/ulfs-packages/libical ]; then echo "Dependance \"libical\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/libical/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/libical/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/libical ]; then echo "Dependance \"libical\" 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 bluez... if [ ! -f /var/cache/ulfs-packages/bluez ]; then echo "Dependance \"bluez\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/bluez/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/bluez/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/bluez ]; then echo "Dependance \"bluez\" is not installed. Exiting..." exit fi fi #Checking perl-URI... if [ ! -f /var/cache/ulfs-packages/perl-URI ]; then echo "Dependance \"perl-URI\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/perl-URI/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/perl-URI/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/perl-URI ]; then echo "Dependance \"perl-URI\" is not installed. Exiting..." exit fi fi #Checking NetworkManager... if [ ! -f /var/cache/ulfs-packages/NetworkManager ]; then echo "Dependance \"NetworkManager\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/NetworkManager/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/NetworkManager/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/NetworkManager ]; then echo "Dependance \"NetworkManager\" is not installed. Exiting..." exit fi fi #Checking extra-cmake-modules... if [ ! -f /var/cache/ulfs-packages/extra-cmake-modules ]; then echo "Dependance \"extra-cmake-modules\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/extra-cmake-modules/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/extra-cmake-modules/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/extra-cmake-modules ]; then echo "Dependance \"extra-cmake-modules\" is not installed. Exiting..." exit fi fi #Checking qrencode... if [ ! -f /var/cache/ulfs-packages/qrencode ]; then echo "Dependance \"qrencode\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/qrencode/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/qrencode/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/qrencode ]; then echo "Dependance \"qrencode\" is not installed. Exiting..." exit fi fi #Checking Vulkan-Loader... if [ ! -f /var/cache/ulfs-packages/Vulkan-Loader ]; then echo "Dependance \"Vulkan-Loader\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/Vulkan-Loader/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/Vulkan-Loader/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/Vulkan-Loader ]; then echo "Dependance \"Vulkan-Loader\" is not installed. Exiting..." exit fi fi #Checking python3-pyyaml... if [ ! -f /var/cache/ulfs-packages/python3-pyyaml ]; then echo "Dependance \"python3-pyyaml\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/python3-pyyaml/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/python3-pyyaml/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/python3-pyyaml ]; then echo "Dependance \"python3-pyyaml\" is not installed. Exiting..." exit fi fi #Checking LMDB... if [ ! -f /var/cache/ulfs-packages/LMDB ]; then echo "Dependance \"LMDB\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/LMDB/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/LMDB/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/LMDB ]; then echo "Dependance \"LMDB\" 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 plasma-wayland-protocols... if [ ! -f /var/cache/ulfs-packages/plasma-wayland-protocols ]; then echo "Dependance \"plasma-wayland-protocols\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/plasma-wayland-protocols/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/plasma-wayland-protocols/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/plasma-wayland-protocols ]; then echo "Dependance \"plasma-wayland-protocols\" is not installed. Exiting..." exit fi fi #Checking polkit-qt... if [ ! -f /var/cache/ulfs-packages/polkit-qt ]; then echo "Dependance \"polkit-qt\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/polkit-qt/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/polkit-qt/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/polkit-qt ]; then echo "Dependance \"polkit-qt\" is not installed. Exiting..." exit fi fi #Checking zxing-cpp... if [ ! -f /var/cache/ulfs-packages/zxing-cpp ]; then echo "Dependance \"zxing-cpp\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/zxing-cpp/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/zxing-cpp/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/zxing-cpp ]; then echo "Dependance \"zxing-cpp\" is not installed. Exiting..." exit fi fi #Checking attica... if [ ! -f /var/cache/ulfs-packages/attica ]; then echo "Dependance \"attica\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/attica/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/attica/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/attica ]; then echo "Dependance \"attica\" is not installed. Exiting..." exit fi fi #Checking python3-kapidox... if [ ! -f /var/cache/ulfs-packages/python3-kapidox ]; then echo "Dependance \"python3-kapidox\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/python3-kapidox/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/python3-kapidox/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/python3-kapidox ]; then echo "Dependance \"python3-kapidox\" is not installed. Exiting..." exit fi fi #Checking karchive... if [ ! -f /var/cache/ulfs-packages/karchive ]; then echo "Dependance \"karchive\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/karchive/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/karchive/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/karchive ]; then echo "Dependance \"karchive\" is not installed. Exiting..." exit fi fi #Checking kcodecs... if [ ! -f /var/cache/ulfs-packages/kcodecs ]; then echo "Dependance \"kcodecs\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kcodecs/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kcodecs/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kcodecs ]; then echo "Dependance \"kcodecs\" is not installed. Exiting..." exit fi fi #Checking kconfig... if [ ! -f /var/cache/ulfs-packages/kconfig ]; then echo "Dependance \"kconfig\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kconfig/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kconfig/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kconfig ]; then echo "Dependance \"kconfig\" is not installed. Exiting..." exit fi fi #Checking kcoreaddons... if [ ! -f /var/cache/ulfs-packages/kcoreaddons ]; then echo "Dependance \"kcoreaddons\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kcoreaddons/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kcoreaddons/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kcoreaddons ]; then echo "Dependance \"kcoreaddons\" is not installed. Exiting..." exit fi fi #Checking kdbusaddons... if [ ! -f /var/cache/ulfs-packages/kdbusaddons ]; then echo "Dependance \"kdbusaddons\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kdbusaddons/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kdbusaddons/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kdbusaddons ]; then echo "Dependance \"kdbusaddons\" is not installed. Exiting..." exit fi fi #Checking kdnssd... if [ ! -f /var/cache/ulfs-packages/kdnssd ]; then echo "Dependance \"kdnssd\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kdnssd/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kdnssd/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kdnssd ]; then echo "Dependance \"kdnssd\" is not installed. Exiting..." exit fi fi #Checking kguiaddons... if [ ! -f /var/cache/ulfs-packages/kguiaddons ]; then echo "Dependance \"kguiaddons\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kguiaddons/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kguiaddons/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kguiaddons ]; then echo "Dependance \"kguiaddons\" is not installed. Exiting..." exit fi fi #Checking ki18n... if [ ! -f /var/cache/ulfs-packages/ki18n ]; then echo "Dependance \"ki18n\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/ki18n/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/ki18n/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/ki18n ]; then echo "Dependance \"ki18n\" is not installed. Exiting..." exit fi fi #Checking kidletime... if [ ! -f /var/cache/ulfs-packages/kidletime ]; then echo "Dependance \"kidletime\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kidletime/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kidletime/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kidletime ]; then echo "Dependance \"kidletime\" is not installed. Exiting..." exit fi fi #Checking kimageformats... if [ ! -f /var/cache/ulfs-packages/kimageformats ]; then echo "Dependance \"kimageformats\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kimageformats/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kimageformats/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kimageformats ]; then echo "Dependance \"kimageformats\" is not installed. Exiting..." exit fi fi #Checking kitemmodels... if [ ! -f /var/cache/ulfs-packages/kitemmodels ]; then echo "Dependance \"kitemmodels\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kitemmodels/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kitemmodels/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kitemmodels ]; then echo "Dependance \"kitemmodels\" is not installed. Exiting..." exit fi fi #Checking kitemviews... if [ ! -f /var/cache/ulfs-packages/kitemviews ]; then echo "Dependance \"kitemviews\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kitemviews/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kitemviews/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kitemviews ]; then echo "Dependance \"kitemviews\" is not installed. Exiting..." exit fi fi #Checking kplotting... if [ ! -f /var/cache/ulfs-packages/kplotting ]; then echo "Dependance \"kplotting\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kplotting/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kplotting/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kplotting ]; then echo "Dependance \"kplotting\" is not installed. Exiting..." exit fi fi #Checking kwidgetsaddons... if [ ! -f /var/cache/ulfs-packages/kwidgetsaddons ]; then echo "Dependance \"kwidgetsaddons\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kwidgetsaddons/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kwidgetsaddons/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kwidgetsaddons ]; then echo "Dependance \"kwidgetsaddons\" is not installed. Exiting..." exit fi fi #Checking kwindowsystem... if [ ! -f /var/cache/ulfs-packages/kwindowsystem ]; then echo "Dependance \"kwindowsystem\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kwindowsystem/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kwindowsystem/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kwindowsystem ]; then echo "Dependance \"kwindowsystem\" is not installed. Exiting..." exit fi fi #Checking networkmanager-qt... if [ ! -f /var/cache/ulfs-packages/networkmanager-qt ]; then echo "Dependance \"networkmanager-qt\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/networkmanager-qt/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/networkmanager-qt/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/networkmanager-qt ]; then echo "Dependance \"networkmanager-qt\" is not installed. Exiting..." exit fi fi #Checking solid... if [ ! -f /var/cache/ulfs-packages/solid ]; then echo "Dependance \"solid\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/solid/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/solid/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/solid ]; then echo "Dependance \"solid\" is not installed. Exiting..." exit fi fi #Checking sonnet... if [ ! -f /var/cache/ulfs-packages/sonnet ]; then echo "Dependance \"sonnet\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/sonnet/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/sonnet/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/sonnet ]; then echo "Dependance \"sonnet\" is not installed. Exiting..." exit fi fi #Checking threadweaver... if [ ! -f /var/cache/ulfs-packages/threadweaver ]; then echo "Dependance \"threadweaver\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/threadweaver/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/threadweaver/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/threadweaver ]; then echo "Dependance \"threadweaver\" is not installed. Exiting..." exit fi fi #Checking kauth... if [ ! -f /var/cache/ulfs-packages/kauth ]; then echo "Dependance \"kauth\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kauth/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kauth/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kauth ]; then echo "Dependance \"kauth\" is not installed. Exiting..." exit fi fi #Checking kcompletion... if [ ! -f /var/cache/ulfs-packages/kcompletion ]; then echo "Dependance \"kcompletion\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kcompletion/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kcompletion/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kcompletion ]; then echo "Dependance \"kcompletion\" is not installed. Exiting..." exit fi fi #Checking kcrash... if [ ! -f /var/cache/ulfs-packages/kcrash ]; then echo "Dependance \"kcrash\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kcrash/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kcrash/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kcrash ]; then echo "Dependance \"kcrash\" is not installed. Exiting..." exit fi fi #Checking kdoctools... if [ ! -f /var/cache/ulfs-packages/kdoctools ]; then echo "Dependance \"kdoctools\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kdoctools/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kdoctools/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kdoctools ]; then echo "Dependance \"kdoctools\" is not installed. Exiting..." exit fi fi #Checking kpty... if [ ! -f /var/cache/ulfs-packages/kpty ]; then echo "Dependance \"kpty\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kpty/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kpty/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kpty ]; then echo "Dependance \"kpty\" is not installed. Exiting..." exit fi fi #Checking kunitconversion... if [ ! -f /var/cache/ulfs-packages/kunitconversion ]; then echo "Dependance \"kunitconversion\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kunitconversion/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kunitconversion/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kunitconversion ]; then echo "Dependance \"kunitconversion\" is not installed. Exiting..." exit fi fi #Checking kcolorscheme... if [ ! -f /var/cache/ulfs-packages/kcolorscheme ]; then echo "Dependance \"kcolorscheme\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kcolorscheme/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kcolorscheme/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kcolorscheme ]; then echo "Dependance \"kcolorscheme\" is not installed. Exiting..." exit fi fi #Checking kconfigwidgets... if [ ! -f /var/cache/ulfs-packages/kconfigwidgets ]; then echo "Dependance \"kconfigwidgets\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kconfigwidgets/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kconfigwidgets/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kconfigwidgets ]; then echo "Dependance \"kconfigwidgets\" is not installed. Exiting..." exit fi fi #Checking kservice... if [ ! -f /var/cache/ulfs-packages/kservice ]; then echo "Dependance \"kservice\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kservice/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kservice/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kservice ]; then echo "Dependance \"kservice\" is not installed. Exiting..." exit fi fi #Checking kglobalaccel... if [ ! -f /var/cache/ulfs-packages/kglobalaccel ]; then echo "Dependance \"kglobalaccel\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kglobalaccel/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kglobalaccel/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kglobalaccel ]; then echo "Dependance \"kglobalaccel\" is not installed. Exiting..." exit fi fi #Checking kpackage... if [ ! -f /var/cache/ulfs-packages/kpackage ]; then echo "Dependance \"kpackage\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kpackage/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kpackage/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kpackage ]; then echo "Dependance \"kpackage\" is not installed. Exiting..." exit fi fi #Checking kdesu... if [ ! -f /var/cache/ulfs-packages/kdesu ]; then echo "Dependance \"kdesu\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kdesu/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kdesu/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kdesu ]; then echo "Dependance \"kdesu\" is not installed. Exiting..." exit fi fi #Checking kiconthemes... if [ ! -f /var/cache/ulfs-packages/kiconthemes ]; then echo "Dependance \"kiconthemes\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kiconthemes/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kiconthemes/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kiconthemes ]; then echo "Dependance \"kiconthemes\" is not installed. Exiting..." exit fi fi #Checking knotifications... if [ ! -f /var/cache/ulfs-packages/knotifications ]; then echo "Dependance \"knotifications\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/knotifications/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/knotifications/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/knotifications ]; then echo "Dependance \"knotifications\" is not installed. Exiting..." exit fi fi #Checking kjobwidgets... if [ ! -f /var/cache/ulfs-packages/kjobwidgets ]; then echo "Dependance \"kjobwidgets\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kjobwidgets/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kjobwidgets/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kjobwidgets ]; then echo "Dependance \"kjobwidgets\" is not installed. Exiting..." exit fi fi #Checking ktextwidgets... if [ ! -f /var/cache/ulfs-packages/ktextwidgets ]; then echo "Dependance \"ktextwidgets\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/ktextwidgets/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/ktextwidgets/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/ktextwidgets ]; then echo "Dependance \"ktextwidgets\" is not installed. Exiting..." exit fi fi #Checking kxmlgui... if [ ! -f /var/cache/ulfs-packages/kxmlgui ]; then echo "Dependance \"kxmlgui\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kxmlgui/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kxmlgui/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kxmlgui ]; then echo "Dependance \"kxmlgui\" is not installed. Exiting..." exit fi fi #Checking kbookmarks... if [ ! -f /var/cache/ulfs-packages/kbookmarks ]; then echo "Dependance \"kbookmarks\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kbookmarks/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kbookmarks/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kbookmarks ]; then echo "Dependance \"kbookmarks\" is not installed. Exiting..." exit fi fi #Checking kwallet... if [ ! -f /var/cache/ulfs-packages/kwallet ]; then echo "Dependance \"kwallet\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kwallet/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kwallet/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kwallet ]; then echo "Dependance \"kwallet\" is not installed. Exiting..." exit fi fi #Checking kded... if [ ! -f /var/cache/ulfs-packages/kded ]; then echo "Dependance \"kded\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kded/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kded/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kded ]; then echo "Dependance \"kded\" is not installed. Exiting..." exit fi fi #Checking kio... if [ ! -f /var/cache/ulfs-packages/kio ]; then echo "Dependance \"kio\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kio/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kio/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kio ]; then echo "Dependance \"kio\" is not installed. Exiting..." exit fi fi #Checking kdeclarative... if [ ! -f /var/cache/ulfs-packages/kdeclarative ]; then echo "Dependance \"kdeclarative\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kdeclarative/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kdeclarative/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kdeclarative ]; then echo "Dependance \"kdeclarative\" is not installed. Exiting..." exit fi fi #Checking kcmutils... if [ ! -f /var/cache/ulfs-packages/kcmutils ]; then echo "Dependance \"kcmutils\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kcmutils/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kcmutils/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kcmutils ]; then echo "Dependance \"kcmutils\" is not installed. Exiting..." exit fi fi #Checking kirigami... if [ ! -f /var/cache/ulfs-packages/kirigami ]; then echo "Dependance \"kirigami\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kirigami/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kirigami/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kirigami ]; then echo "Dependance \"kirigami\" is not installed. Exiting..." exit fi fi #Checking syndication... if [ ! -f /var/cache/ulfs-packages/syndication ]; then echo "Dependance \"syndication\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/syndication/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/syndication/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/syndication ]; then echo "Dependance \"syndication\" is not installed. Exiting..." exit fi fi #Checking knewstuff... if [ ! -f /var/cache/ulfs-packages/knewstuff ]; then echo "Dependance \"knewstuff\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/knewstuff/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/knewstuff/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/knewstuff ]; then echo "Dependance \"knewstuff\" is not installed. Exiting..." exit fi fi #Checking frameworkintegration... if [ ! -f /var/cache/ulfs-packages/frameworkintegration ]; then echo "Dependance \"frameworkintegration\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/frameworkintegration/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/frameworkintegration/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/frameworkintegration ]; then echo "Dependance \"frameworkintegration\" is not installed. Exiting..." exit fi fi #Checking kparts... if [ ! -f /var/cache/ulfs-packages/kparts ]; then echo "Dependance \"kparts\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kparts/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kparts/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kparts ]; then echo "Dependance \"kparts\" is not installed. Exiting..." exit fi fi #Checking syntax-highlighting... if [ ! -f /var/cache/ulfs-packages/syntax-highlighting ]; then echo "Dependance \"syntax-highlighting\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/syntax-highlighting/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/syntax-highlighting/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/syntax-highlighting ]; then echo "Dependance \"syntax-highlighting\" is not installed. Exiting..." exit fi fi #Checking ktexteditor... if [ ! -f /var/cache/ulfs-packages/ktexteditor ]; then echo "Dependance \"ktexteditor\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/ktexteditor/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/ktexteditor/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/ktexteditor ]; then echo "Dependance \"ktexteditor\" is not installed. Exiting..." exit fi fi #Checking modemmanager-qt... if [ ! -f /var/cache/ulfs-packages/modemmanager-qt ]; then echo "Dependance \"modemmanager-qt\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/modemmanager-qt/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/modemmanager-qt/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/modemmanager-qt ]; then echo "Dependance \"modemmanager-qt\" is not installed. Exiting..." exit fi fi #Checking kcontacts... if [ ! -f /var/cache/ulfs-packages/kcontacts ]; then echo "Dependance \"kcontacts\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kcontacts/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kcontacts/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kcontacts ]; then echo "Dependance \"kcontacts\" is not installed. Exiting..." exit fi fi #Checking kpeople... if [ ! -f /var/cache/ulfs-packages/kpeople ]; then echo "Dependance \"kpeople\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kpeople/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kpeople/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kpeople ]; then echo "Dependance \"kpeople\" is not installed. Exiting..." exit fi fi #Checking bluez-qt... if [ ! -f /var/cache/ulfs-packages/bluez-qt ]; then echo "Dependance \"bluez-qt\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/bluez-qt/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/bluez-qt/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/bluez-qt ]; then echo "Dependance \"bluez-qt\" is not installed. Exiting..." exit fi fi #Checking kfilemetadata... if [ ! -f /var/cache/ulfs-packages/kfilemetadata ]; then echo "Dependance \"kfilemetadata\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kfilemetadata/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kfilemetadata/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kfilemetadata ]; then echo "Dependance \"kfilemetadata\" is not installed. Exiting..." exit fi fi #Checking baloo... if [ ! -f /var/cache/ulfs-packages/baloo ]; then echo "Dependance \"baloo\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/baloo/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/baloo/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/baloo ]; then echo "Dependance \"baloo\" is not installed. Exiting..." exit fi fi #Checking krunner... if [ ! -f /var/cache/ulfs-packages/krunner ]; then echo "Dependance \"krunner\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/krunner/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/krunner/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/krunner ]; then echo "Dependance \"krunner\" is not installed. Exiting..." exit fi fi #Checking prison... if [ ! -f /var/cache/ulfs-packages/prison ]; then echo "Dependance \"prison\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/prison/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/prison/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/prison ]; then echo "Dependance \"prison\" is not installed. Exiting..." exit fi fi #Checking qqc2-desktop-style... if [ ! -f /var/cache/ulfs-packages/qqc2-desktop-style ]; then echo "Dependance \"qqc2-desktop-style\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/qqc2-desktop-style/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/qqc2-desktop-style/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/qqc2-desktop-style ]; then echo "Dependance \"qqc2-desktop-style\" is not installed. Exiting..." exit fi fi #Checking kholidays... if [ ! -f /var/cache/ulfs-packages/kholidays ]; then echo "Dependance \"kholidays\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kholidays/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kholidays/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kholidays ]; then echo "Dependance \"kholidays\" is not installed. Exiting..." exit fi fi #Checking purpose... if [ ! -f /var/cache/ulfs-packages/purpose ]; then echo "Dependance \"purpose\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/purpose/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/purpose/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/purpose ]; then echo "Dependance \"purpose\" is not installed. Exiting..." exit fi fi #Checking kcalendarcore... if [ ! -f /var/cache/ulfs-packages/kcalendarcore ]; then echo "Dependance \"kcalendarcore\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kcalendarcore/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kcalendarcore/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kcalendarcore ]; then echo "Dependance \"kcalendarcore\" is not installed. Exiting..." exit fi fi #Checking kquickcharts... if [ ! -f /var/cache/ulfs-packages/kquickcharts ]; then echo "Dependance \"kquickcharts\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kquickcharts/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kquickcharts/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kquickcharts ]; then echo "Dependance \"kquickcharts\" is not installed. Exiting..." exit fi fi #Checking knotifyconfig... if [ ! -f /var/cache/ulfs-packages/knotifyconfig ]; then echo "Dependance \"knotifyconfig\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/knotifyconfig/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/knotifyconfig/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/knotifyconfig ]; then echo "Dependance \"knotifyconfig\" is not installed. Exiting..." exit fi fi #Checking kdav... if [ ! -f /var/cache/ulfs-packages/kdav ]; then echo "Dependance \"kdav\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kdav/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kdav/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kdav ]; then echo "Dependance \"kdav\" is not installed. Exiting..." exit fi fi #Checking kstatusnotifieritem... if [ ! -f /var/cache/ulfs-packages/kstatusnotifieritem ]; then echo "Dependance \"kstatusnotifieritem\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kstatusnotifieritem/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kstatusnotifieritem/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kstatusnotifieritem ]; then echo "Dependance \"kstatusnotifieritem\" is not installed. Exiting..." exit fi fi #Checking ksvg... if [ ! -f /var/cache/ulfs-packages/ksvg ]; then echo "Dependance \"ksvg\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/ksvg/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/ksvg/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/ksvg ]; then echo "Dependance \"ksvg\" is not installed. Exiting..." exit fi fi #Checking ktexttemplate... if [ ! -f /var/cache/ulfs-packages/ktexttemplate ]; then echo "Dependance \"ktexttemplate\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/ktexttemplate/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/ktexttemplate/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/ktexttemplate ]; then echo "Dependance \"ktexttemplate\" is not installed. Exiting..." exit fi fi #Checking kuserfeedback... if [ ! -f /var/cache/ulfs-packages/kuserfeedback ]; then echo "Dependance \"kuserfeedback\" not found. Trying to install..."; if [[ "$ULFS_DOWNLOAD_APP" == "curl" ]]; then curl https://umvirt.com/linux/packages//0.2.3/kuserfeedback/install -k | bash else wget --no-check-certificate https://umvirt.com/linux/packages//0.2.3/kuserfeedback/install -O - | bash fi if [ ! -f /var/cache/ulfs-packages/kuserfeedback ]; then echo "Dependance \"kuserfeedback\" is not installed. Exiting..." exit fi fi #Saving configuration timestamp date +%s > /var/log/ulfs-packages/KF6/configure.time #Saving build timestamp date +%s > /var/log/ulfs-packages/KF6/build.time #Saving install timestamp date +%s > /var/log/ulfs-packages/KF6/install.time #Running install script... # #Saving finish timestamp date +%s > /var/log/ulfs-packages/KF6/finish.time #Marking package as installed... mkdir -p /var/cache/ulfs-packages USER=`whoami` if [ "$USER" == "root" ] ; then touch /var/cache/ulfs-packages/KF6 else sudo touch /var/cache/ulfs-packages/KF6 fi #Calculate prepare time a=`cat /var/log/ulfs-packages/KF6/start.time` b=`cat /var/log/ulfs-packages/KF6/configure.time` dp=$(($b-$a)) #Calculate delta time a=`cat /var/log/ulfs-packages/KF6/configure.time` b=`cat /var/log/ulfs-packages/KF6/finish.time` db=$(($b-$a)) echo $db > /var/log/ulfs-packages/KF6/delta.time #Report echo "" echo "ULFS Package installation report" echo "================================" echo "Package: KF6" echo "Release: 0.2.3" echo "Prepare time: $dp sec." echo "Build time: $db sec." #End of script