1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00

Fix autodetection

This commit is contained in:
Selamanse 2018-10-05 21:53:49 +02:00
parent fea24621ce
commit f0cae33c9a

View file

@ -3,7 +3,7 @@
ROCKETCHAT_VERSION=0.65.1
ROCKETCHAT_SHASUM=6484c19ad922520e8ca45b2d09eff3be33f227dd74f737b67c437fb3e6c6fc4b
NODE_VERSION=8.9.4
DEBIAN_ISSUE=$(grep 8 /etc/issue >/dev/null && echo jessie || echo stretch)
DEBIAN_ISSUE=$(grep 9 /etc/debian_version >/dev/null && echo stretch || echo jessie)
checkcmd() {
curl -m 1 -s localhost:$port$path/api/v1/info | \