Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/dstat b/dstat 2index 3ac7087..c5f089d 100755 3--- a/dstat 4+++ b/dstat 5@@ -66,9 +66,7 @@ if sys.version_info < (2, 3): 6 7 pluginpath = [ 8 os.path.expanduser('~/.dstat/'), # home + /.dstat/ 9- os.path.abspath(os.path.dirname(sys.argv[0])) + '/plugins/', # binary path + /plugins/ 10- '/usr/share/dstat/', 11- '/usr/local/share/dstat/', 12+ os.path.abspath(os.path.dirname(sys.argv[0])) + '/../share/dstat/', # binary path + /../share/dstat/ 13 ] 14 15 class Options: