summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Ørsted Andresen <zlin@exherbo.org>2013-04-14 15:52:06 +0200
committerBo Ørsted Andresen <zlin@exherbo.org>2013-04-14 15:52:06 +0200
commit6821569597a4acf3b7499786da243a74b1b3ccea (patch)
tree542935fa8e4a5851e45d324416521446cc89b0b9
parent23933dbcff7307811ddca99420addf9a6868aa47 (diff)
downloadwgetpaste-6821569597a4acf3b7499786da243a74b1b3ccea.tar.gz
Add new default service bpaste based on lodgeit.
-rwxr-xr-xwgetpaste7
1 files changed, 5 insertions, 2 deletions
diff --git a/wgetpaste b/wgetpaste
index 420956d..17c80b0 100755
--- a/wgetpaste
+++ b/wgetpaste
@@ -14,7 +14,10 @@ E=$'\e'
N=$'\n'
### services
-SERVICES="ca codepad dpaste gists poundpython"
+SERVICES="bpaste ca codepad dpaste gists poundpython"
+# bpaste
+ENGINE_bpaste=lodgeit
+URL_bpaste="http://bpaste.net/"
# ca
ENGINE_ca=ca
URL_ca="http://pastebin.ca/"
@@ -657,7 +660,7 @@ load_configs() {
load_configs
[[ $SERVICESET ]] && verifyservice "$SERVICESET" && SERVICE=$(escape "$SERVICESET")
DEFAULT_NICK=${DEFAULT_NICK:-$(whoami)} || die "whoami failed"
-DEFAULT_SERVICE=${DEFAULT_SERVICE:-gists}
+DEFAULT_SERVICE=${DEFAULT_SERVICE:-bpaste}
DEFAULT_LANGUAGE=${DEFAULT_LANGUAGE:-Plain Text}
DEFAULT_EXPIRATION=${DEFAULT_EXPIRATION:-1 month}
SERVICE=${SERVICE:-${DEFAULT_SERVICE}}