diff options
author | Bo Ørsted Andresen <zlin@exherbo.org> | 2013-04-14 15:52:06 +0200 |
---|---|---|
committer | Bo Ørsted Andresen <zlin@exherbo.org> | 2013-04-14 15:52:06 +0200 |
commit | 6821569597a4acf3b7499786da243a74b1b3ccea (patch) | |
tree | 542935fa8e4a5851e45d324416521446cc89b0b9 | |
parent | 23933dbcff7307811ddca99420addf9a6868aa47 (diff) | |
download | wgetpaste-6821569597a4acf3b7499786da243a74b1b3ccea.tar.gz |
Add new default service bpaste based on lodgeit.
-rwxr-xr-x | wgetpaste | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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}} |