Skip to content

Commit c3e2f83

Browse files
authored
Merge pull request #578 from shadeyg56/wrapper-fix
wrapper: switch sh to bash (Void fix)
2 parents 64b11ab + 0f14a6a commit c3e2f83

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

auto_cpufreq/core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def app_version():
149149

150150
# snap package
151151
if os.getenv("PKG_MARKER") == "SNAP":
152-
print(getoutput("echo \(Snap\) $SNAP_VERSION"))
152+
print(getoutput(r"echo \(Snap\) $SNAP_VERSION"))
153153
# aur package
154154
elif dist_name in ["arch", "manjaro", "garuda"]:
155155
aur_pkg_check = call("pacman -Qs auto-cpufreq > /dev/null", shell=True)

scripts/auto-cpufreq-runit

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#!/bin/sh
1+
#!/bin/bash
22
export PATH="$PATH:/usr/local/bin"
33
exec /usr/local/bin/auto-cpufreq --daemon

scripts/auto-cpufreq-venv-wrapper

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22
# Wrapper script around auto-cpufreq using the python virtual environment
33

44
set -eu

0 commit comments

Comments
 (0)