slackbuilds_ponce/accessibility/wgetpaste/dpaste_default.diff
B. Watson d9e928d381 accessibility/wgetpaste: Updated for version 2.20, added license.
switched default service to dpaste,
added zlin service

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2012-12-26 21:36:45 +01:00

12 lines
618 B
Diff

diff -Naur wgetpaste-2.20/wgetpaste wgetpaste-2.20.patched/wgetpaste
--- wgetpaste-2.20/wgetpaste 2012-05-05 15:15:32.000000000 -0400
+++ wgetpaste-2.20.patched/wgetpaste 2012-12-20 18:41:01.000000000 -0500
@@ -634,7 +634,7 @@
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:-dpaste}
DEFAULT_LANGUAGE=${DEFAULT_LANGUAGE:-Plain Text}
DEFAULT_EXPIRATION=${DEFAULT_EXPIRATION:-1 month}
SERVICE=${SERVICE:-${DEFAULT_SERVICE}}