mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 05:09:40 +02: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
@ -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…
x
Reference in New Issue
Block a user