summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Vinson <nvinson234@gmail.com>2021-02-25 02:38:48 -0500
committerRasmus Thomsen <oss@cogitri.dev>2021-03-31 19:40:07 +0200
commitb65dedd7b2280e8971a3b00b60464bd18ebbb4b2 (patch)
treed93b783d458074b27fe3708ebf914710f112bd05
parent2cfba484161c6b9b712e1f0582d3bd5537302100 (diff)
downloadwgetpaste-b65dedd7b2280e8971a3b00b60464bd18ebbb4b2.tar.gz
remove invalid EXPIRATIONS_pinnwand entries
-rwxr-xr-xwgetpaste2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgetpaste b/wgetpaste
index 94f816e..1f4db57 100755
--- a/wgetpaste
+++ b/wgetpaste
@@ -283,7 +283,7 @@ shell-session smali smalltalk smarty snobol sp sqlite3 sql squidconf splus sml s
tcl tcsh tea tex text text treetop ts urbiscript vala vb.net velocity verilog vgl vhdl vim \
xml+cheetah xml+django xml+evoque xml+lasso xml+mako xml+myghty xml+php xml+erb xml+smarty \
xml+velocity xml xquery xslt xtend yaml"
-EXPIRATIONS_pinnwand="1day 1week 1month never"
+EXPIRATIONS_pinnwand="1day 1week"
REGEX_URL_pinnwand='s|^.*"link": "\([^"]\+bpa.st[^"]\+\)".*$|\1|p'
REGEX_RAW_pinnwand='s|^\(https://bpa.st\)\(/.*\)$|\1/raw\2|'
escape_description_pinnwand() { sed -e 's|"|\\"|g' -e 's|\x1b|\\u001b|g' -e 's|\r||g' <<< "$*"; }