37 lines
848 B
Bash
Executable file
37 lines
848 B
Bash
Executable file
#!/bin/bash
|
|
NEXTCLOUD_DIR="${NEXTCLOUD_DIR}";
|
|
INSTALL_FONTS="${INSTALL_FONTS}";
|
|
dir="${BASH_SOURCE%/*}";
|
|
pushd "$dir" > /dev/null;
|
|
scriptRoot="$dir/../..";
|
|
softwareRoot="$scriptRoot/Software";
|
|
configRoot="$scriptRoot/Config";
|
|
cloudRoot="$configRoot/rclone";
|
|
|
|
# Sync clouds
|
|
{
|
|
pushd "$dir" > /dev/null;
|
|
gnome-terminal --tab --wait -- /bin/bash "../rclone/InstallSync.sh" nextcloud "$NEXTCLOUD_DIR";
|
|
|
|
if [ ! -z "$INSTALL_FONTS" ]
|
|
then
|
|
# Install fonts
|
|
source "../Fonts/NerdFont/install.sh";
|
|
fi;
|
|
|
|
source "../../Software/Oh My Posh/install.sh";
|
|
popd > /dev/null;
|
|
} &
|
|
|
|
if [ ! -z "$INSTALL_FONTS" ]
|
|
then
|
|
# Microsoft Windows Fonts
|
|
source "../Fonts/MicrosoftFonts/install.sh";
|
|
fi;
|
|
|
|
# Git Config
|
|
source "../git/setup/install.sh";
|
|
|
|
# Troll Stuff
|
|
source "../git/git-auf-deutsch/install.sh";
|
|
popd > /dev/null;
|