Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrapper: switch sh to bash (Void fix) #578

Merged
merged 1 commit into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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