projects
/
package-cache.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deef9ce
)
contrib/openrc/init.d/package-cache: Add PC_OPTS
author
W. Trevor King
<wking@tremily.us>
Fri, 21 Feb 2014 02:29:58 +0000
(18:29 -0800)
committer
W. Trevor King
<wking@tremily.us>
Fri, 21 Feb 2014 02:29:58 +0000
(18:29 -0800)
You can use this to tweak the logging:
$ cat /etc/conf.d/package-cache
PC_OPTS="-vvv"
contrib/openrc/init.d/package-cache
patch
|
blob
|
history
diff --git
a/contrib/openrc/init.d/package-cache
b/contrib/openrc/init.d/package-cache
index 49189ce113dfbc66defcd7639971413e68b5b54c..d8a9a97fd333fc01f220ef82f64c4f9f46628f39 100755
(executable)
--- a/
contrib/openrc/init.d/package-cache
+++ b/
contrib/openrc/init.d/package-cache
@@
-36,7
+36,8
@@
start() {
--host "${HOST}" \
--port "${PORT}" \
"${SOURCE_OPTS[@]}" \
- --cache "${CACHE_DIR}"
+ --cache "${CACHE_DIR}" \
+ ${PC_OPTS:+${PC_OPTS}}
eend $?
}