diff --git a/type/__prometheus_yoctotemp_exporter/gencode-remote b/type/__prometheus_yoctotemp_exporter/gencode-remote index 04cbb7f..6c179c8 100755 --- a/type/__prometheus_yoctotemp_exporter/gencode-remote +++ b/type/__prometheus_yoctotemp_exporter/gencode-remote @@ -1,7 +1,7 @@ #!/bin/sh VCS_TAG=$(cat "$__object/parameter/version") -VCS_URL="https://code.recycled.cloud/e-Durable/prometheus-yoctotemp-exporter/raw/tag/$VCS_TAG/prometheus-yoctotemp-exporter" +VCS_URL="https://code.recycled.cloud/RecycledCloud/prometheus-yoctotemp-exporter/raw/tag/$VCS_TAG/prometheus-yoctotemp-exporter" cat << EOF cd /opt/prometheus-yoctotemp-exporter @@ -10,7 +10,7 @@ cd /opt/prometheus-yoctotemp-exporter curl "$VCS_URL" -o prometheus-yoctotemp-exporter # Install virtualenv and dependencies. -virtualenv venv +virtualenv -p python3 venv . venv/bin/activate pip install prometheus_client pip install yoctopuce diff --git a/type/__prometheus_yoctotemp_exporter/manifest b/type/__prometheus_yoctotemp_exporter/manifest index 5b1a292..b13fc55 100644 --- a/type/__prometheus_yoctotemp_exporter/manifest +++ b/type/__prometheus_yoctotemp_exporter/manifest @@ -4,6 +4,7 @@ os=$(cat "${__global:?}/explorer/os") case "$os" in debian|ubuntu) __package python3-virtualenv + __package virtualenv __package curl ;; *)