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

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

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

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

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

