mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
commit
7afcb9c0bf
3 changed files with 8 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
"description": {
|
||||
"en": "ActivityPub Federated Image Sharing"
|
||||
},
|
||||
"version": "0.9.0~ynh3",
|
||||
"version": "0.9.0~ynh4",
|
||||
"url": "https://pixelfed.org/",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"maintainer": [
|
||||
|
|
|
@ -158,13 +158,16 @@ ynh_store_file_checksum --file="$config"
|
|||
|
||||
pushd "$final_path"
|
||||
php7.2 artisan -n key:generate --force
|
||||
php7.2 artisan horizon:install
|
||||
php7.2 artisan config:clear
|
||||
php7.2 artisan config:cache
|
||||
php7.2 artisan route:cache
|
||||
php7.2 artisan view:cache
|
||||
php7.2 artisan storage:link
|
||||
php7.2 artisan migrate --force
|
||||
php7.2 artisan update
|
||||
php7.2 artisan horizon:purge
|
||||
php7.2 artisan horizon:assets
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -77,7 +77,6 @@ ynh_print_info --message="Backing up the app before upgrading (may take a while)
|
|||
# Backup the current version of the app
|
||||
ynh_backup_before_upgrade
|
||||
ynh_clean_setup () {
|
||||
read -p "key"
|
||||
# restore it if the upgrade fails
|
||||
ynh_restore_upgradebackup
|
||||
}
|
||||
|
@ -177,14 +176,18 @@ ynh_store_file_checksum --file="$config"
|
|||
#=================================================
|
||||
|
||||
pushd "$final_path"
|
||||
php7.2 artisan horizon:install
|
||||
php7.2 artisan config:clear
|
||||
php7.2 artisan config:cache
|
||||
php7.2 artisan route:clear
|
||||
php7.2 artisan route:cache
|
||||
php7.2 artisan view:clear
|
||||
php7.2 artisan view:cache
|
||||
php7.2 artisan storage:link
|
||||
php7.2 artisan migrate --force
|
||||
php7.2 artisan update
|
||||
php7.2 artisan horizon:purge
|
||||
php7.2 artisan horizon:assets
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue