]> git.pld-linux.org Git - packages/poldek.git/blame - poldek-ext-down-enable.patch
- release 14 (by relup.sh)
[packages/poldek.git] / poldek-ext-down-enable.patch
CommitLineData
c1296830
AM
1diff -urN poldek-0.32.2.org/conf/poldek.conf poldek-0.32.2/conf/poldek.conf
2--- poldek-0.32.2.org/conf/poldek.conf 2016-02-03 22:02:49.000000000 +0100
3+++ poldek-0.32.2/conf/poldek.conf 2017-11-23 09:21:23.347551541 +0100
4@@ -15,7 +15,7 @@
5
6 # External downloaders configuration, not necessary in most cases, cause
7 # to internal HTTP and FTP client.
8-#%include fetch.conf
9+%include fetch.conf
10
11 [global]
12
13diff -urN poldek-0.32.2.org/vfile/fetch.c poldek-0.32.2/vfile/fetch.c
14--- poldek-0.32.2.org/vfile/fetch.c 2016-01-30 15:05:57.000000000 +0100
15+++ poldek-0.32.2/vfile/fetch.c 2017-11-23 09:38:01.044442691 +0100
16@@ -163,7 +163,9 @@
17 if (vf_find_external_command(p, PATH_MAX, path, NULL))
18 path = p;
19 else {
20- vf_logerr("%s: command not found\n", path);
6780b425 21+ if (*vfile_verbose > 1) {
c1296830
AM
22+ vf_logerr("%s: command not found\n", path);
23+ }
24 return NULL;
25 }
26 }
27@@ -494,7 +496,9 @@
28 }
29
30 if ((ftch = ffetcher_new(name, protocols, cmd)) == NULL) {
31- vf_logerr("External downloader '%s': registration failed\n", cmd);
6780b425 32+ if (*vfile_verbose > 1) {
c1296830
AM
33+ vf_logerr("External downloader '%s': registration failed\n", cmd);
34+ }
35
36 } else {
37 if (ffetchers == NULL) {
This page took 0.035177 seconds and 4 git commands to generate.