start-pulseaudio-x11: Make 'plasma' version check shell portable
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>
Mon, 18 Nov 2019 14:15:47 +0000 (16:15 +0200)
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>
Mon, 18 Nov 2019 14:27:03 +0000 (16:27 +0200)
commit28347d0602045ea91475f55a7652bac8ef0ed1f8
treef0a6caa33d031fa64a6c6c0c8796754129f18c6f
parent4d9d458268fa3dbb8bebe489f7f281a4d2f5a01f
start-pulseaudio-x11: Make 'plasma' version check shell portable

Currently, the version check snippet uses a 'bash' extension which
arithemtically evaluates variables prior to expansion. This approach
does not nesseceraly work on other shells which may complain with
'5: Illegal numer' error. Expand the arithmetic expression before
evaluation to avoid such an error.

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
src/daemon/start-pulseaudio-x11.in