mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
sysmngr: allow url as path in upgrade
This commit is contained in:
parent
64cf5c7c9f
commit
df374f7a56
2 changed files with 1 additions and 4 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=sysmngr
|
PKG_NAME:=sysmngr
|
||||||
PKG_VERSION:=1.0.31
|
PKG_VERSION:=1.0.32
|
||||||
|
|
||||||
LOCAL_DEV:=0
|
LOCAL_DEV:=0
|
||||||
ifneq ($(LOCAL_DEV),1)
|
ifneq ($(LOCAL_DEV),1)
|
||||||
|
|
|
||||||
|
|
@ -165,9 +165,6 @@ case "$1" in
|
||||||
# Sanity: is the given bankid really the one to be upgraded?
|
# Sanity: is the given bankid really the one to be upgraded?
|
||||||
[ "${bank}" -eq "$(iopsys_get_next_bank_id)" ] || ret=1
|
[ "${bank}" -eq "$(iopsys_get_next_bank_id)" ] || ret=1
|
||||||
|
|
||||||
# Does the given file actually exist?
|
|
||||||
[ -r "${path}" ] || ret=1
|
|
||||||
|
|
||||||
# Is the auto_activate provided in the JSON a boolean?
|
# Is the auto_activate provided in the JSON a boolean?
|
||||||
# (meaning: here we should get 0 or 1 instead of any other string)
|
# (meaning: here we should get 0 or 1 instead of any other string)
|
||||||
[ "${auto_activate}" == "0" -o "${auto_activate}" == "1" ] || ret=1
|
[ "${auto_activate}" == "0" -o "${auto_activate}" == "1" ] || ret=1
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue