1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mybb_ynh.git synced 2024-09-03 19:46:07 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2021-09-03 13:25:40 +02:00
parent 42050c5084
commit 0eba2192d9
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -75,16 +75,16 @@ then
#cp -a "$final_path/inc/config.php" "$tmpdir/config.php" #cp -a "$final_path/inc/config.php" "$tmpdir/config.php"
ynh_secure_remove --file="$final_path" #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/ #mv $final_path/Upload/* $final_path/
ynh_secure_remove --file="$final_path/Documentation" #ynh_secure_remove --file="$final_path/Documentation"
ynh_secure_remove --file="$final_path/Upload" #ynh_secure_remove --file="$final_path/Upload"
# If install exist, remove it # If install exist, remove it
if [ -d "$final_path/install" ]; then #if [ -d "$final_path/install" ]; then
ynh_secure_remove --file="$final_path/install" # ynh_secure_remove --file="$final_path/install"
fi #fi
#cp -a "$tmpdir/config.php" "$final_path/inc/config.php" #cp -a "$tmpdir/config.php" "$final_path/inc/config.php"
fi fi