[Nextcloud] Fix templates folder location
This commit is contained in:
parent
53e52e9b41
commit
1db58a0160
|
@ -28,6 +28,7 @@ fi
|
|||
|
||||
## Atroport config
|
||||
nc_domain=$(/home/$YOU/.zen/astroport/zen/tools/nodename)
|
||||
templates="/home/$YOU/.zen/astroport/.install/nextcloud/templates"
|
||||
|
||||
## Set var
|
||||
[[ -z $nc_domain ]] && nc_domain=$1
|
||||
|
@ -38,8 +39,8 @@ db_pass_root="$(cat /dev/urandom | tr -dc 'a-zA-Z0-9~!@#$%^&*_-' | fold -w 32 |
|
|||
if [[ p2env == "true" ]]; then
|
||||
cd /nextcloud/templates/
|
||||
else
|
||||
[[ ! -e templates ]] && echo "Erreur: Le dossier templates n'existe pas, installation impossible." && exit 1
|
||||
cd templates
|
||||
[[ ! -e $templates ]] && echo "Erreur: Le dossier templates n'existe pas, installation impossible." && exit 1
|
||||
cd $templates
|
||||
fi
|
||||
|
||||
## Set apt key and upgrade system
|
||||
|
|
Loading…
Reference in New Issue