1diff --git a/pastebinit b/pastebinit
2index 4e5f9ce..fe06bd3 100755
3--- a/pastebinit
4+++ b/pastebinit
5@@ -91,7 +91,7 @@ try:
6 # Files found later override files found earlier.
7 pastebind = {}
8 confdirs = []
9- for confdir in ['/usr/share', '/usr/local/share'] \
10+ for confdir in ['@etc@', '/usr/share', '/usr/local/share'] \
11 + list(reversed(os.environ.get('XDG_DATA_DIRS', '').split(':'))) \
12 + list(reversed(os.environ.get('XDG_CONFIG_DIRS', '').split(':'))) \
13 + ['/etc', '/usr/local/etc',