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):
|
||||
* requiring a full dedicated domain ?
|
||||
* 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...
|
||||
* How to post-install:
|
||||
* The database credentials are send to the admin be email.
|
||||
|
||||
* Other infos that people should be aware of, such as:
|
||||
* any specific step to perform after installing (such as manually finishing the install, specific admin credentials, ...)
|
||||
* how to configure / administrate the application if it ain't obvious
|
||||
* upgrade process / specificities / things to be aware of ?
|
||||
* security considerations ?
|
||||
* How to upgrade:
|
||||
* `https://www.domain.ltd/mybb/install/upgrade.php` and follow the post install.
|
||||
|
|
|
@ -70,22 +70,12 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
|
|||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
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
|
||||
ynh_setup_source --dest_dir="$final_path"
|
||||
#mv $final_path/Upload/* $final_path/
|
||||
#ynh_secure_remove --file="$final_path/Documentation"
|
||||
#ynh_secure_remove --file="$final_path/Upload"
|
||||
# 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"
|
||||
|
||||
#This remoses the lock to do the post upgrade process.
|
||||
ynh_secure_remove --file="$final_path/install/lock"
|
||||
fi
|
||||
|
||||
chmod 750 "$final_path"
|
||||
|
|
Loading…
Reference in a new issue