1
0
Fork 0
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:
Krakinou 2023-05-07 15:35:59 +02:00
parent 278d925c19
commit 4b8b7f90b2
2 changed files with 6 additions and 8 deletions

View file

@ -3,7 +3,12 @@
#=================================================
# 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
#=================================================

View file

@ -9,13 +9,6 @@
source _common.sh
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
#=================================================