1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gogs_ynh.git synced 2024-09-03 20:36:23 +02:00
This commit is contained in:
ericgaspar 2021-11-08 21:09:13 +01:00
parent 8ef998c9cf
commit 119ce3cee0
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 4 additions and 4 deletions

View file

@ -108,8 +108,8 @@ chmod 750 "$datadir"
chmod -R o-rwx "$datadir"
chown -R $app:www-data "$datadir"
REPO_PATH="$datadir/repositories"
DATA_PATH="$datadir/data"
repo_path="$datadir/repositories"
data_path="$datadir/data"
# create needed directories
mkdir -p "$final_path/data"

View file

@ -82,8 +82,8 @@ ynh_secure_remove --file="/opt/$app/templates"
#=================================================
ynh_script_progression --message="Setting up source files..." --weight=3
REPO_PATH="$datadir/repositories"
DATA_PATH="$datadir/data"
repo_path="$datadir/repositories"
data_path="$datadir/data"
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# Download, check integrity, uncompress and patch the source from app.src