fix style nitpicks (#12995)

* disable restriction (for now)

* reduce duplication

* remove duplication in scim view

* fix diff

* fix reassign

* remove statment that is always wrong

* log with full context

* allign order to anguage defaults

* adress shelldre:S7688
This commit is contained in:
Matthias Mair authored and GitHub committed 2026-10-13 10:02:02 +11:00
1 parent 600dc1a75b
commit 104adebbf4
13 files changed
+94 -111

No files matched your search

+2 -2
View File
@@ -42,7 +42,7 @@ detect_python
# Check if we are updating and need to alert
echo "# POI08| Checking if update checks are needed"
if [ -z "$2" ]; then
if [[ -z "$2" ]]; then
echo "# POI08| Normal install - no need for checks"
else
update_checks $2
@@ -56,7 +56,7 @@ create_admin
stop_inventree
update_or_install
# Write config file
if [ "${SETUP_CONF_LOADED}" = "true" ]; then
if [[ "${SETUP_CONF_LOADED}" = "true" ]]; then
set_env
fi
set_site