$OpenBSD$

Fix python shebang & fix config locations

Index: pastebinit
--- pastebinit.orig
+++ pastebinit
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 # Author: Stéphane Graber <stgraber@ubuntu.com>
@@ -70,7 +70,7 @@ try:
 
     # Version number to show in the usage
     version = "1.5"
-    configfile = os.path.expanduser("~/.pastebinit.xml")
+    configfile = os.path.expanduser("/usr/local/share/pastebinit/pastebinit.xml")
 
     # Custom urlopener to handle 401's
     class pasteURLopener(FancyURLopener):
@@ -86,7 +86,7 @@ try:
         #  - user's overrides in ~/.pastebin.d
         # Files found later override files found earlier.
         pastebind = {}
-        for confdir in ['/usr/share/pastebin.d', '/etc/pastebin.d',
+        for confdir in ['/usr/local/share/pastebinit/pastebin.d', '/etc/pastebin.d',
                         '/usr/local/etc/pastebin.d',
                         os.path.expanduser('~/.pastebin.d'),
                         os.path.join(
