Skip to content

Commit

Permalink
Run post update after modules in update.sh #3425 from webmaster777/po…
Browse files Browse the repository at this point in the history
…st-update-after-modules

Run post update after modules in update.sh
  • Loading branch information
freescout-helpdesk authored Sep 27, 2023
2 parents 1b6f9e4 + 2598263 commit 258b774
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tools/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -214,11 +214,6 @@ fi

php artisan queue:restart

if [ -f "${TOOLS_DIR}/post_update.sh" ]; then
echo "Including post_update.sh"
source "${TOOLS_DIR}/post_update.sh";
fi

printf "\nWould you like to update modules? (Y/n) [n]:"
if [ $yes = true ]; then
confirm_modules='Y';
Expand All @@ -230,4 +225,9 @@ if [ $confirm_modules != "Y" ]; then
exit;
fi

php artisan freescout:module-update
php artisan freescout:module-update

if [ -f "${TOOLS_DIR}/post_update.sh" ]; then
echo "Including post_update.sh"
source "${TOOLS_DIR}/post_update.sh";
fi

0 comments on commit 258b774

Please sign in to comment.