mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 03:26:45 +00:00
- This swtich is no longer present in `invoke update` - Frontend installation is off by default - Fixes https://github.com/inventree/InvenTree/discussions/6109 (cherry picked from commit 148bf0764b8221139e1b635bd76740e9829b1f34) Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
parent
05d3458f67
commit
35266b80f4
@ -236,7 +236,7 @@ function update_or_install() {
|
||||
# Run update as app user
|
||||
echo "# Updating InvenTree"
|
||||
sudo -u ${APP_USER} --preserve-env=$SETUP_ENVS bash -c "cd ${APP_HOME} && pip install wheel"
|
||||
sudo -u ${APP_USER} --preserve-env=$SETUP_ENVS bash -c "cd ${APP_HOME} && invoke update --no-frontend | sed -e 's/^/# inv update| /;'"
|
||||
sudo -u ${APP_USER} --preserve-env=$SETUP_ENVS bash -c "cd ${APP_HOME} && invoke update | sed -e 's/^/# inv update| /;'"
|
||||
|
||||
# Make sure permissions are correct again
|
||||
echo "# Set permissions for data dir and media: ${DATA_DIR}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user