1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Replace st call with stterm
This patch replaces st with stterm which is the name
for st binary on Debian system.
.
Author: Vasudev Kamath <kamathvasudev@gmail.com>
Bug-Debian: http://bugs.debian.org/683851
Forwarded: not-needed
Last-Update: 2016-01-09
--- a/config.def.h
+++ b/config.def.h
@@ -48,7 +48,7 @@ static Bool hidebackground = FALSE;
/* DOWNLOAD(URI, referer) */
#define DOWNLOAD(d, r) { \
.v = (char *[]){ "/bin/sh", "-c", \
- "st -e /bin/sh -c \"curl -L -J -O --user-agent '$1'" \
+ "stterm -e /bin/sh -c \"curl -J -O --user-agent '$1'" \
" --referer '$2' -b $3 -c $3 '$0';" \
" sleep 5;\"", \
d, useragent, r, cookiefile, NULL \
|