mirror of
https://github.com/YunoHost-Apps/mybb_ynh.git
synced 2024-09-03 19:46:07 +02:00
Fix
This commit is contained in:
parent
0eba2192d9
commit
1785fad911
2 changed files with 7 additions and 24 deletions
|
@ -1,12 +1,5 @@
|
||||||
* Any known limitations, constrains or stuff not working, such as (but not limited to):
|
* How to post-install:
|
||||||
* requiring a full dedicated domain ?
|
* The database credentials are send to the admin be email.
|
||||||
* architectures not supported ?
|
|
||||||
* not-working single-sign on or LDAP integration ?
|
|
||||||
* the app requires an important amount of RAM / disk / .. to install or to work properly
|
|
||||||
* etc...
|
|
||||||
|
|
||||||
* Other infos that people should be aware of, such as:
|
* How to upgrade:
|
||||||
* any specific step to perform after installing (such as manually finishing the install, specific admin credentials, ...)
|
* `https://www.domain.ltd/mybb/install/upgrade.php` and follow the post install.
|
||||||
* how to configure / administrate the application if it ain't obvious
|
|
||||||
* upgrade process / specificities / things to be aware of ?
|
|
||||||
* security considerations ?
|
|
||||||
|
|
|
@ -70,22 +70,12 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
|
||||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||||
# Create a temporary directory
|
|
||||||
#tmpdir="$(mktemp -d)"
|
|
||||||
|
|
||||||
#cp -a "$final_path/inc/config.php" "$tmpdir/config.php"
|
|
||||||
|
|
||||||
#ynh_secure_remove --file="$final_path"
|
|
||||||
# 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="$final_path"
|
ynh_setup_source --dest_dir="$final_path"
|
||||||
#mv $final_path/Upload/* $final_path/
|
|
||||||
#ynh_secure_remove --file="$final_path/Documentation"
|
#This remoses the lock to do the post upgrade process.
|
||||||
#ynh_secure_remove --file="$final_path/Upload"
|
ynh_secure_remove --file="$final_path/install/lock"
|
||||||
# If install exist, remove it
|
|
||||||
#if [ -d "$final_path/install" ]; then
|
|
||||||
# ynh_secure_remove --file="$final_path/install"
|
|
||||||
#fi
|
|
||||||
#cp -a "$tmpdir/config.php" "$final_path/inc/config.php"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
|
|
Loading…
Reference in a new issue