Kay0u
5 years ago
No known key found for this signature in database
GPG Key ID: AAFEEB16CFA2AE2D
2 changed files with
6 additions and
0 deletions
-
scripts/install
-
scripts/upgrade
|
|
@ -84,6 +84,9 @@ cp -a ../sources/patches_last_version/* ../sources/patches |
|
|
# Download, check integrity, uncompress and patch the source from app.src |
|
|
# Download, check integrity, uncompress and patch the source from app.src |
|
|
ynh_setup_source --dest_dir="$final_path" |
|
|
ynh_setup_source --dest_dir="$final_path" |
|
|
|
|
|
|
|
|
|
|
|
# Allow Symlinks for multimedia folder |
|
|
|
|
|
ynh_replace_string --match_string="protected \$allowSymlinks = false;" --replace_string="protected \$allowSymlinks = true;" --target_file="$final_path/lib/private/Files/Storage/Local.php" |
|
|
|
|
|
|
|
|
#================================================= |
|
|
#================================================= |
|
|
# CREATE DEDICATED USER |
|
|
# CREATE DEDICATED USER |
|
|
#================================================= |
|
|
#================================================= |
|
|
|
|
|
@ -270,6 +270,9 @@ then |
|
|
# Install the next nextcloud version in $tmpdir |
|
|
# Install the next nextcloud version in $tmpdir |
|
|
ynh_setup_source --dest_dir="$tmpdir" |
|
|
ynh_setup_source --dest_dir="$tmpdir" |
|
|
|
|
|
|
|
|
|
|
|
# Allow Symlinks for multimedia folder |
|
|
|
|
|
ynh_replace_string --match_string="protected \$allowSymlinks = false;" --replace_string="protected \$allowSymlinks = true;" --target_file="$tmpdir/lib/private/Files/Storage/Local.php" |
|
|
|
|
|
|
|
|
# Enable maintenance mode |
|
|
# Enable maintenance mode |
|
|
exec_occ maintenance:mode --on |
|
|
exec_occ maintenance:mode --on |
|
|
|
|
|
|
|
|
|