#!/bin/bash

kcare_script_path=/usr/libexec/kcare/python/kcarectl.py

python=$(command -v python3 || command -v python2 || echo "")
if [ -z "$python" ]; then
    >&2 echo error: python3 or python2 executables were not found
    exit 1
fi

exec "$python" "$kcare_script_path" "$@"
