mirror of
https://github.com/YunoHost-Apps/shlink_ynh.git
synced 2024-09-03 20:16:22 +02:00
dir
This commit is contained in:
parent
4299ac030a
commit
a84f242fad
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
location __PATH__/ {
|
location __PATH__/ {
|
||||||
|
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __INSTALL_DIR__/;
|
alias __INSTALL_DIR__/public/;
|
||||||
|
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ ynh_script_progression --message="Setting up source files..." --weight=2
|
||||||
|
|
||||||
# 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="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
ynh_setup_source --dest_dir="$install_dir" --source_id="front"
|
ynh_setup_source --dest_dir="$install_dir/public" --source_id="front"
|
||||||
|
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
|
|
Loading…
Add table
Reference in a new issue