Run cloud sync synchronously

This commit is contained in:
Manuel Thalmann 2023-04-05 11:03:05 +02:00
parent 6b14579d5f
commit 4d37de1c13

View file

@ -11,19 +11,17 @@ then
fi;
# Sync clouds
{
pushd "$dir" > /dev/null;
. "../rclone/InstallSync.sh" nextcloud "$NEXTCLOUD_DIR";
pushd "$dir" > /dev/null;
. "../rclone/InstallSync.sh" nextcloud "$NEXTCLOUD_DIR";
if [ ! -z "$INSTALL_FONTS" ]
then
# Install fonts
source "../Fonts/NerdFont/install.sh";
fi;
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;
} &
source "../bash/oh-my-posh.sh";
source "../Oh My Posh/install.sh";
popd > /dev/null;
popd > /dev/null;