From e26f138210a4f50e72f75fee1812ed2fabd96aa0 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 5 Apr 2023 11:00:26 +0200 Subject: [PATCH] Run nextcloud sync in same terminal --- scripts/Common/Config/UserProfile/personal.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/Common/Config/UserProfile/personal.sh b/scripts/Common/Config/UserProfile/personal.sh index cdcbd5cf..c81ee15e 100755 --- a/scripts/Common/Config/UserProfile/personal.sh +++ b/scripts/Common/Config/UserProfile/personal.sh @@ -4,10 +4,16 @@ 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; - gnome-terminal --tab --wait -- /bin/bash "../rclone/InstallSync.sh" nextcloud "$NEXTCLOUD_DIR"; + . "../rclone/InstallSync.sh" nextcloud "$NEXTCLOUD_DIR"; if [ ! -z "$INSTALL_FONTS" ] then @@ -20,10 +26,4 @@ pushd "$dir" > /dev/null; popd > /dev/null; } & -if [ ! -z "$INSTALL_FONTS" ] -then - # Microsoft Windows Fonts - source "../Fonts/MicrosoftFonts/install.sh"; -fi; - popd > /dev/null;