summary refs log tree commit diff
path: root/pkgs/os-specific/linux/dstat/fix_pluginpath.patch
blob: 06d7793da47e3a0440b63b5d6f2b5a8e96c642dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/dstat b/dstat
index 3ac7087..c5f089d 100755
--- a/dstat
+++ b/dstat
@@ -66,9 +66,7 @@ if sys.version_info < (2, 3):
 
 pluginpath = [
     os.path.expanduser('~/.dstat/'),                                # home + /.dstat/
-    os.path.abspath(os.path.dirname(sys.argv[0])) + '/plugins/',    # binary path + /plugins/
-    '/usr/share/dstat/',
-    '/usr/local/share/dstat/',
+    os.path.abspath(os.path.dirname(sys.argv[0])) + '/../share/dstat/', # binary path + /../share/dstat/
 ]
 
 class Options: