mirror of
https://github.com/YunoHost-Apps/zwave-js-ui_ynh.git
synced 2024-09-03 18:06:00 +02:00
move exec file name to common
This commit is contained in:
parent
278d925c19
commit
4b8b7f90b2
2 changed files with 6 additions and 8 deletions
|
@ -3,7 +3,12 @@
|
||||||
#=================================================
|
#=================================================
|
||||||
# COMMON VARIABLES
|
# COMMON VARIABLES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
if [[ "$YNH_ARCH" == "armhf" ]] || [[ "$YNH_ARCH" == "arm64" ]]
|
||||||
|
then
|
||||||
|
file_exec="zwave-js-ui"
|
||||||
|
else
|
||||||
|
file_exec="zwave-js-ui-linux"
|
||||||
|
fi
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -9,13 +9,6 @@
|
||||||
source _common.sh
|
source _common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
|
|
||||||
if [[ "$YNH_ARCH" == "armhf" ]] || [[ "$YNH_ARCH" == "arm64" ]]
|
|
||||||
then
|
|
||||||
file_exec="zwave-js-ui"
|
|
||||||
else
|
|
||||||
file_exec="zwave-js-ui-linux"
|
|
||||||
fi
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# ADD SWAP IF NEEDED
|
# ADD SWAP IF NEEDED
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue