summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Ørsted Andresen <zlin@exherbo.org>2016-06-07 17:44:10 +0200
committerBo Ørsted Andresen <zlin@exherbo.org>2016-06-07 17:44:10 +0200
commitc6da7eb0ac65de6770227dd53d4ff738fd966df9 (patch)
tree0d72ee03cbc1172c8d3b08a33086189af5627661
parentcf57d3cde555ee1fba535d49a3c4e76137046561 (diff)
parent96ecb00e4315faf6a01744f7d1e72026cfb076e5 (diff)
downloadwgetpaste-c6da7eb0ac65de6770227dd53d4ff738fd966df9.tar.gz
Merge pull request #3 from Keruspe/master
Nuke poundpython, default to gists
-rwxr-xr-xwgetpaste7
1 files changed, 2 insertions, 5 deletions
diff --git a/wgetpaste b/wgetpaste
index 6ed9ba9..c70868b 100755
--- a/wgetpaste
+++ b/wgetpaste
@@ -14,7 +14,7 @@ E=$'\e'
N=$'\n'
### services
-SERVICES="codepad dpaste gists poundpython"
+SERVICES="codepad dpaste gists"
# codepad
ENGINE_codepad=codepad
URL_codepad="http://codepad.org/"
@@ -28,9 +28,6 @@ DEFAULT_EXPIRATION_dpaste="30 days"
# gists
ENGINE_gists=gists
URL_gists="https://api.github.com/gists"
-# poundpython
-ENGINE_poundpython=lodgeit
-URL_poundpython="http://paste.pound-python.org/"
# tinyurl
ENGINE_tinyurl=tinyurl
URL_tinyurl="http://tinyurl.com/ api-create.php"
@@ -661,7 +658,7 @@ load_configs() {
load_configs
[[ $SERVICESET ]] && verifyservice "$SERVICESET" && SERVICE=$(escape "$SERVICESET")
DEFAULT_NICK=${DEFAULT_NICK:-$(whoami)} || die "whoami failed"
-DEFAULT_SERVICE=${DEFAULT_SERVICE:-poundpython}
+DEFAULT_SERVICE=${DEFAULT_SERVICE:-gists}
DEFAULT_LANGUAGE=${DEFAULT_LANGUAGE:-Plain Text}
DEFAULT_EXPIRATION=${DEFAULT_EXPIRATION:-1 month}
SERVICE=${SERVICE:-${DEFAULT_SERVICE}}