pastebinit: change default pastebin service tu 'sprunge.us', this should fix #577

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2012-05-07 04:06:25 +02:00
parent 4929a0c8b3
commit e042b45365
2 changed files with 13 additions and 2 deletions

View File

@ -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

View File

@ -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()