Skip to content

Commit

Permalink
Merge pull request #578 from shadeyg56/wrapper-fix
Browse files Browse the repository at this point in the history
wrapper: switch sh to bash (Void fix)
  • Loading branch information
shadeyg56 committed Oct 11, 2023
2 parents 64b11ab + 0f14a6a commit c3e2f83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion auto_cpufreq/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion scripts/auto-cpufreq-runit
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
#!/bin/bash
export PATH="$PATH:/usr/local/bin"
exec /usr/local/bin/auto-cpufreq --daemon
2 changes: 1 addition & 1 deletion scripts/auto-cpufreq-venv-wrapper
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Wrapper script around auto-cpufreq using the python virtual environment

set -eu
Expand Down

0 comments on commit c3e2f83

Please sign in to comment.