From 0f14a6a252401026976d780fe5fb00f385f37e0e Mon Sep 17 00:00:00 2001 From: shadeyg56 Date: Wed, 11 Oct 2023 17:16:51 -0500 Subject: [PATCH] wrapper: switch sh to bash (Void fix) --- auto_cpufreq/core.py | 2 +- scripts/auto-cpufreq-runit | 2 +- scripts/auto-cpufreq-venv-wrapper | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/auto_cpufreq/core.py b/auto_cpufreq/core.py index c992d077..114e409f 100755 --- a/auto_cpufreq/core.py +++ b/auto_cpufreq/core.py @@ -149,7 +149,7 @@ def app_version(): # snap package if os.getenv("PKG_MARKER") == "SNAP": - print(getoutput("echo \(Snap\) $SNAP_VERSION")) + print(getoutput(r"echo \(Snap\) $SNAP_VERSION")) # aur package elif dist_name in ["arch", "manjaro", "garuda"]: aur_pkg_check = call("pacman -Qs auto-cpufreq > /dev/null", shell=True) diff --git a/scripts/auto-cpufreq-runit b/scripts/auto-cpufreq-runit index 01dc25f6..05ffd38c 100755 --- a/scripts/auto-cpufreq-runit +++ b/scripts/auto-cpufreq-runit @@ -1,3 +1,3 @@ -#!/bin/sh +#!/bin/bash export PATH="$PATH:/usr/local/bin" exec /usr/local/bin/auto-cpufreq --daemon diff --git a/scripts/auto-cpufreq-venv-wrapper b/scripts/auto-cpufreq-venv-wrapper index ce89e9f4..d35d4db4 100644 --- a/scripts/auto-cpufreq-venv-wrapper +++ b/scripts/auto-cpufreq-venv-wrapper @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Wrapper script around auto-cpufreq using the python virtual environment set -eu