Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git c/auto_cpufreq/core.py i/auto_cpufreq/core.py 2index b51d55d..b0bff1e 100755 3--- c/auto_cpufreq/core.py 4+++ i/auto_cpufreq/core.py 5@@ -96,13 +96,8 @@ except PermissionError: 6 7 # display running version of auto-cpufreq 8 def app_version(): 9- print("auto-cpufreq version: ", end="") 10- 11- if IS_INSTALLED_WITH_SNAP: print(getoutput(r"echo \(Snap\) $SNAP_VERSION")) 12- elif IS_INSTALLED_WITH_AUR: print(getoutput("pacman -Qi auto-cpufreq | grep Version")) 13- else: 14- try: print(get_formatted_version()) 15- except Exception as e: print(repr(e)) 16+ print("auto-cpufreq version: @version@") 17+ print("Git commit: v@version@") 18 19 def check_for_update(): 20 # returns True if a new release is available from the GitHub repo