forked from axiom-team/astroport
[Nextcloud] Fix templates folder location
This commit is contained in:
parent
53e52e9b41
commit
1db58a0160
|
@ -28,6 +28,7 @@ fi
|
||||||
|
|
||||||
## Atroport config
|
## Atroport config
|
||||||
nc_domain=$(/home/$YOU/.zen/astroport/zen/tools/nodename)
|
nc_domain=$(/home/$YOU/.zen/astroport/zen/tools/nodename)
|
||||||
|
templates="/home/$YOU/.zen/astroport/.install/nextcloud/templates"
|
||||||
|
|
||||||
## Set var
|
## Set var
|
||||||
[[ -z $nc_domain ]] && nc_domain=$1
|
[[ -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
|
if [[ p2env == "true" ]]; then
|
||||||
cd /nextcloud/templates/
|
cd /nextcloud/templates/
|
||||||
else
|
else
|
||||||
[[ ! -e templates ]] && echo "Erreur: Le dossier templates n'existe pas, installation impossible." && exit 1
|
[[ ! -e $templates ]] && echo "Erreur: Le dossier templates n'existe pas, installation impossible." && exit 1
|
||||||
cd templates
|
cd $templates
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Set apt key and upgrade system
|
## Set apt key and upgrade system
|
||||||
|
|
Loading…
Reference in New Issue