#!/bin/bash
cd /usr/share/netbox/netbox

last_flavor= 
if [ -z "" ]; then last_flavor="tmp"; fi 
if [ "" != "python311" ]; then 
    if [ -d build ]; then mv build _build.; fi 
    if [ -d _build.python311 ]; then mv _build.python311 build; fi 
fi 
echo python311 > _current_flavor 
python_flavor=python311 

python3.11 manage.py collectstatic --no-input

