Developing lightweight computation at the DSG edge
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quick Mesh Project
qMp packages
Commits
04ffd7f5
Commit
04ffd7f5
authored
Jul 22, 2013
by
Simó Albert i Beltran
Browse files
Import "Abort qmpcontrol upgrade if device is not found". References #254.
parents
f30ba6b0
dfc6ce3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/qmp-system/files/etc/qmp/qmp_update.sh
View file @
04ffd7f5
...
@@ -84,6 +84,7 @@ qmp_update_check() {
...
@@ -84,6 +84,7 @@ qmp_update_check() {
device_hash
=
"
$(
qmp_update_get_local_hash
)
"
device_hash
=
"
$(
qmp_update_get_local_hash
)
"
my_device
=
"
$(
qmp_update_get_my_device
$url
/
$devices
$device_hash
$filter
)
"
my_device
=
"
$(
qmp_update_get_my_device
$url
/
$devices
$device_hash
$filter
)
"
[
-z
"
$my_device
"
]
&&
qmp_error
"I am sorry, I cannot find an image for your device in
$url
"
qmp_debug
"My device is
$my_device
"
qmp_debug
"My device is
$my_device
"
last_image
=
"
$(
qmp_update_get_last_image_name
$url
/
$images
$filter
)
"
last_image
=
"
$(
qmp_update_get_last_image_name
$url
/
$images
$filter
)
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment