Skip to content
Snippets Groups Projects
Commit 293c64e7 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-autoupdater: use the new get_model function

parent 13e3d7ff
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,8 @@ cleanup() {
trap cleanup INT TERM EXIT PIPE
my_model="$(cat /tmp/sysinfo/model | sed 's/ /-/g' | tr '[A-Z]' '[a-z]')"
. /lib/gluon/functions/model.sh
my_model="$(get_model | tr '[A-Z]' '[a-z]' | sed -r 's/[^a-z0-9]+/-/g')"
if [ ! -f "$VERSION_FILE" ]; then
echo "Couldn't determine firmware version!" >&2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment