mirror of
https://github.com/netinvent/npbackup.git
synced 2024-11-10 09:03:02 +08:00
Don't build no-gui versions anymore
This commit is contained in:
parent
63b1722ade
commit
688f6e7668
1 changed files with 0 additions and 8 deletions
|
@ -9,14 +9,6 @@ cd /opt/npbackup
|
|||
OLD_PYTHONPATH="$PYTHONPATH"
|
||||
export PYTHONPATH=/opt/npbackup
|
||||
|
||||
if [ "$(printf %.3s $machine)" = "arm" ] || [ "$machine" = "aarch64" ]; then
|
||||
opts=" --no-gui"
|
||||
echo "BUILDING WITHOUT GUI because arm detected"
|
||||
else
|
||||
otps=""
|
||||
echo "BUILDING WITH GUI"
|
||||
fi
|
||||
|
||||
/opt/npbackup/venv/bin/python bin/compile.py --audience all $opts
|
||||
|
||||
export PYTHONPATH="$OLD_PYTHONPATH"
|
Loading…
Reference in a new issue