mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
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:
parent
4929a0c8b3
commit
e042b45365
@ -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
|
||||
|
@ -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()
|
Loading…
x
Reference in New Issue
Block a user