mirror of
https://github.com/YunoHost-Apps/gogs_ynh.git
synced 2024-09-03 20:36:23 +02:00
Fix
This commit is contained in:
parent
8ef998c9cf
commit
119ce3cee0
2 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue