From 515b11152944d1f7b8123ee1f1d0bc5a5a06a3d8 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 27 Nov 2019 04:10:56 +0100 Subject: [PATCH 1/3] Attempt to improve description --- manifest.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 3e66647..c1db565 100644 --- a/manifest.json +++ b/manifest.json @@ -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~ynh1", "url": "https://snipeitapp.com/", From ecae0775729be8dd5d12908d9a3738d83c63b06e Mon Sep 17 00:00:00 2001 From: Kay0u Date: Sun, 5 Jan 2020 19:02:48 +0800 Subject: [PATCH 2/3] Fix artisan migrate --- scripts/install | 4 ++-- scripts/upgrade | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 7383cb3..fa4afcb 100755 --- a/scripts/install +++ b/scripts/install @@ -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) diff --git a/scripts/upgrade b/scripts/upgrade index c373be5..aabe723 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -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 ) From 8312e09cff0738d916aa9905895b186bbfdced60 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Tue, 11 Feb 2020 22:35:59 +0700 Subject: [PATCH 3/3] use php7.0 --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 25f54e4..e8d4e68 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -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