mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-15 06:30:59 +00:00
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:
1 parent
600dc1a75b
commit
104adebbf4
13 files changed
+94
-111
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user