diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/install-dev | 2 | ||||
| -rwxr-xr-x | scripts/install-extension | 2 | ||||
| -rwxr-xr-x | scripts/parley | 4 | ||||
| -rwxr-xr-x | scripts/parleyctl | 4 | ||||
| -rwxr-xr-x | scripts/parleyd | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/scripts/install-dev b/scripts/install-dev index a2eb660..cd4a7fc 100755 --- a/scripts/install-dev +++ b/scripts/install-dev @@ -6,7 +6,7 @@ unit_dir=${XDG_CONFIG_HOME:-$HOME/.config}/systemd/user dbus_dir=${XDG_DATA_HOME:-$HOME/.local/share}/dbus-1/services cd "$root" -/usr/bin/python -c 'import gi' >/dev/null +python -c 'import gi' >/dev/null mkdir -p "$unit_dir" "$dbus_dir" sed "s|^ExecStart=.*|ExecStart=$root/scripts/parleyd|" \ diff --git a/scripts/install-extension b/scripts/install-extension index e32e9da..fd861dc 100755 --- a/scripts/install-extension +++ b/scripts/install-extension @@ -14,7 +14,7 @@ fi ln -s "$root/extension" "$destination" cd "$root" -/usr/bin/python - "$uuid" <<'PY' +python - "$uuid" <<'PY' import sys from gi.repository import Gio diff --git a/scripts/parley b/scripts/parley index 9213cbd..49e7098 100755 --- a/scripts/parley +++ b/scripts/parley @@ -1,5 +1,5 @@ #!/usr/bin/env bash set -euo pipefail root=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd) -export PYTHONPATH="$root/src${PYTHONPATH:+:$PYTHONPATH}" -exec /usr/bin/python -m parley.cli "$@" +cd "$root" +exec python -m parley.cli "$@" diff --git a/scripts/parleyctl b/scripts/parleyctl index 2973c88..0fda0ba 100755 --- a/scripts/parleyctl +++ b/scripts/parleyctl @@ -1,5 +1,5 @@ #!/usr/bin/env bash set -euo pipefail root=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd) -export PYTHONPATH="$root/src${PYTHONPATH:+:$PYTHONPATH}" -exec /usr/bin/python -m parley.ctl "$@" +cd "$root" +exec python -m parley.ctl "$@" diff --git a/scripts/parleyd b/scripts/parleyd index 9e66846..8584093 100755 --- a/scripts/parleyd +++ b/scripts/parleyd @@ -1,5 +1,5 @@ #!/usr/bin/env bash set -euo pipefail root=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd) -export PYTHONPATH="$root/src${PYTHONPATH:+:$PYTHONPATH}" -exec /usr/bin/python -m parley.daemon "$@" +cd "$root" +exec python -m parley.daemon "$@" |
