Set default value of NEXTCLOUD_DIR
This commit is contained in:
parent
378cdc846a
commit
b358e8a07f
4 changed files with 7 additions and 7 deletions
scripts/Common/Config/UserProfile
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
NEXTCLOUD_DIR="${NEXTCLOUD_DIR}";
|
||||
NEXTCLOUD_DIR="${NEXTCLOUD_DIR:Nextcloud}";
|
||||
INSTALL_FONTS="${INSTALL_FONTS}";
|
||||
dir="${BASH_SOURCE%/*}";
|
||||
pushd "$dir" > /dev/null;
|
||||
|
@ -11,15 +11,15 @@ then
|
|||
fi;
|
||||
|
||||
# Sync clouds
|
||||
. "../rclone/InstallSync.sh" nextcloud "$NEXTCLOUD_DIR";
|
||||
NEXTCLOUD_DIR="${NEXTCLOUD_DIR}" . "../rclone/InstallSync.sh" nextcloud "$NEXTCLOUD_DIR";
|
||||
|
||||
if [ ! -z "$INSTALL_FONTS" ]
|
||||
then
|
||||
# Install fonts
|
||||
source "../Fonts/NerdFont/install.sh";
|
||||
NEXTCLOUD_DIR="${NEXTCLOUD_DIR}" source "../Fonts/NerdFont/install.sh";
|
||||
fi;
|
||||
|
||||
source "../bash/oh-my-posh.sh";
|
||||
source "../Oh My Posh/install.sh";
|
||||
NEXTCLOUD_DIR="${NEXTCLOUD_DIR}" source "../Oh My Posh/install.sh";
|
||||
|
||||
popd > /dev/null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue