1
0
Fork 0
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:
ericgaspar 2021-11-26 16:46:39 +01:00
parent 8fc715fbf4
commit ae229db026
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -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
#================================================= #=================================================