Run nextcloud sync in same terminal
This commit is contained in:
parent
203a8df564
commit
e26f138210
1 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue