PortValhalla/scripts/Common/Config/UserProfile/install.sh

28 lines
554 B
Bash
Executable file

#!/bin/bash
NEXTCLOUD_DIR="${NEXTCLOUD_DIR}";
INSTALL_FONTS="${INSTALL_FONTS}";
dir="${BASH_SOURCE%/*}";
pushd "$dir" > /dev/null;
if [ ! -z "$INSTALL_FONTS" ]
then
# Microsoft Windows Fonts
source "../Fonts/MicrosoftFonts/install.sh";
fi;
# Sync clouds
pushd "$dir" > /dev/null;
. "../rclone/InstallSync.sh" nextcloud "$NEXTCLOUD_DIR";
if [ ! -z "$INSTALL_FONTS" ]
then
# Install fonts
source "../Fonts/NerdFont/install.sh";
fi;
source "../bash/oh-my-posh.sh";
source "../Oh My Posh/install.sh";
popd > /dev/null;
popd > /dev/null;