From 148bf0764b8221139e1b635bd76740e9829b1f34 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 18 Dec 2023 10:44:15 +1100 Subject: [PATCH] Remove --no-frontend option from installer (#6111) - This swtich is no longer present in `invoke update` - Frontend installation is off by default - Fixes https://github.com/inventree/InvenTree/discussions/6109 --- contrib/packager.io/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/packager.io/functions.sh b/contrib/packager.io/functions.sh index efb4456d9b..a0509a504a 100755 --- a/contrib/packager.io/functions.sh +++ b/contrib/packager.io/functions.sh @@ -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}"