mirror of
https://github.com/netbox-community/netbox.git
synced 2025-09-06 06:13:36 -06:00
don't fail upgrade.sh if the django content types cleanup command fails
This commit is contained in:
parent
a9ada4457b
commit
3ca1092991
@ -117,7 +117,7 @@ eval $COMMAND || exit 1
|
||||
# Delete any stale content types
|
||||
COMMAND="python3 netbox/manage.py remove_stale_contenttypes --no-input"
|
||||
echo "Removing stale content types ($COMMAND)..."
|
||||
eval $COMMAND || exit 1
|
||||
eval $COMMAND
|
||||
|
||||
# Rebuild the search cache (lazily)
|
||||
COMMAND="python3 netbox/manage.py reindex --lazy"
|
||||
|
Loading…
Reference in New Issue
Block a user