mirror of
https://github.com/YunoHost-Apps/gogs_ynh.git
synced 2024-09-03 20:36:23 +02:00
Update install
This commit is contained in:
parent
8fc715fbf4
commit
ae229db026
1 changed files with 4 additions and 4 deletions
|
@ -103,10 +103,6 @@ ynh_app_setting_set --app=$app --key=datadir --value=$datadir
|
||||||
|
|
||||||
mkdir -p $datadir
|
mkdir -p $datadir
|
||||||
|
|
||||||
chmod 750 "$datadir"
|
|
||||||
chmod -R o-rwx "$datadir"
|
|
||||||
chown -R $app:www-data "$datadir"
|
|
||||||
|
|
||||||
repo_path="$datadir/repositories"
|
repo_path="$datadir/repositories"
|
||||||
data_path="$datadir/data"
|
data_path="$datadir/data"
|
||||||
|
|
||||||
|
@ -116,6 +112,10 @@ mkdir -p "$final_path/custom/conf/auth.d"
|
||||||
mkdir -p "$datadir/data/avatars"
|
mkdir -p "$datadir/data/avatars"
|
||||||
mkdir -p "$datadir/data/attachments"
|
mkdir -p "$datadir/data/attachments"
|
||||||
|
|
||||||
|
chmod 750 "$datadir"
|
||||||
|
chmod -R o-rwx "$datadir"
|
||||||
|
chown -R $app:www-data "$datadir"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY A CONFIG FILE
|
# MODIFY A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue