mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-23 22:47:03 +01:00
Identify newest BlitzPy version during sd building (#2505)
The -r (reverse) flag in the ls command leads to an install of the oldest, not the newest version of BlitzPy.
This commit is contained in:
parent
71326772b1
commit
4e84fb804f
1 changed files with 1 additions and 1 deletions
|
@ -614,7 +614,7 @@ sudo -u admin chmod +x /home/admin/config.scripts/*.sh
|
|||
sudo -u admin chmod +x /home/admin/setup.scripts/*.sh
|
||||
|
||||
# install newest version of BlitzPy
|
||||
blitzpy_wheel=$(ls -trR /home/admin/raspiblitz/home.admin/BlitzPy/dist | grep -E "*any.whl" | tail -n 1)
|
||||
blitzpy_wheel=$(ls -tR /home/admin/raspiblitz/home.admin/BlitzPy/dist | grep -E "*any.whl" | tail -n 1)
|
||||
blitzpy_version=$(echo ${blitzpy_wheel} | grep -oE "([0-9]\.[0-9]\.[0-9])")
|
||||
echo ""
|
||||
echo "*** INSTALLING BlitzPy Version: ${blitzpy_version} ***"
|
||||
|
|
Loading…
Add table
Reference in a new issue