mirror of
https://github.com/YunoHost-Apps/snipeit_ynh.git
synced 2024-09-03 20:26:16 +02:00
commit
f0ce10dd27
4 changed files with 6 additions and 5 deletions
|
@ -3,7 +3,8 @@
|
|||
"id": "snipeit",
|
||||
"packaging_format": 1,
|
||||
"description": {
|
||||
"en": "Open source asset management"
|
||||
"en": "Manage assets for IT operations",
|
||||
"fr": "Gestionnaire de ressources informatiques"
|
||||
},
|
||||
"version": "4.6.15~ynh2",
|
||||
"url": "https://snipeitapp.com/",
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#=================================================
|
||||
|
||||
# dependencies used by the app
|
||||
pkg_dependencies="openssl php-mbstring php-curl php-mysql php-ldap php-zip php-bcmath php-xml php-common"
|
||||
pkg_dependencies="openssl php7.0-mbstring php7.0-curl php7.0-mysql php7.0-ldap php7.0-zip php7.0-bcmath php7.0-xml php7.0-common"
|
||||
|
||||
#=================================================
|
||||
# PERSONAL HELPERS
|
||||
|
|
|
@ -194,8 +194,8 @@ ynh_replace_string "yunodomain" "$domain" "$final_path/.env"
|
|||
ynh_replace_string "__LANGUAGE__" "$language" "$final_path/.env"
|
||||
|
||||
# setup application config
|
||||
( cd $final_path && sudo /usr/bin/php artisan key:generate -n --env)
|
||||
( cd $final_path && sudo /usr/bin/php artisan migrate -n )
|
||||
( cd $final_path && sudo /usr/bin/php artisan key:generate -n --force --env)
|
||||
( cd $final_path && sudo /usr/bin/php artisan migrate -n --force)
|
||||
( cd $final_path && sudo /usr/bin/php artisan config:clear -n)
|
||||
( cd $final_path && sudo /usr/bin/php artisan config:cache -n)
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ ynh_install_composer
|
|||
|
||||
ynh_exec_warn_less ynh_composer_exec --commands=\"dump-autoload\"
|
||||
|
||||
( cd $final_path && sudo /usr/bin/php artisan migrate -n )
|
||||
( cd $final_path && sudo /usr/bin/php artisan migrate -n --force)
|
||||
( cd $final_path && sudo /usr/bin/php artisan config:clear -n )
|
||||
( cd $final_path && sudo /usr/bin/php artisan config:cache -n )
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue