diff --git a/packages/tools/pastebinit/install b/packages/tools/pastebinit/install index e7983bb029..86d71f0964 100755 --- a/packages/tools/pastebinit/install +++ b/packages/tools/pastebinit/install @@ -23,9 +23,8 @@ . config/options $1 mkdir -p $INSTALL/etc/pastebin.d - cp $PKG_BUILD/pastebin.d/pastebin.com.conf $INSTALL/etc/pastebin.d + cp $PKG_BUILD/pastebin.d/sprunge.us.conf $INSTALL/etc/pastebin.d mkdir -p $INSTALL/usr/bin cp $PKG_BUILD/pastebinit $INSTALL/usr/bin ln -sf pastebinit $INSTALL/usr/bin/paste # link for a shorter command - ln -sf pastebinit $INSTALL/usr/bin/wgetpaste # link for compatibility diff --git a/packages/tools/pastebinit/patches/pastebinit-1.3-01-change_default_pastebin.patch b/packages/tools/pastebinit/patches/pastebinit-1.3-01-change_default_pastebin.patch new file mode 100644 index 0000000000..e64d5c9ab0 --- /dev/null +++ b/packages/tools/pastebinit/patches/pastebinit-1.3-01-change_default_pastebin.patch @@ -0,0 +1,12 @@ +diff -Naur pastebinit-1.3/pastebinit pastebinit-1.3.patch/pastebinit +--- pastebinit-1.3/pastebinit 2012-02-15 22:14:22.000000000 +0100 ++++ pastebinit-1.3.patch/pastebinit 2012-05-07 03:40:49.119612858 +0200 +@@ -17,7 +17,7 @@ + # along with this program; if not, write to the Free Software + # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +-defaultPB = "http://pastebin.com" #Default pastebin ++defaultPB = "http://sprunge.us" #Default pastebin + try: + import lsb_release + release = lsb_release.get_distro_information()['ID'].lower()