Set user agent during build process
This commit is contained in:
parent
c452bacb94
commit
92028bb31b
1 changed files with 6 additions and 36 deletions
|
|
@ -15,12 +15,6 @@ if [ -d /opt/R/${R_VERSION} ]; then
|
|||
fi
|
||||
EOF
|
||||
|
||||
# Set default HTTP user agent for R 3.6+
|
||||
cat <<'EOF' >> /opt/R/${R_VERSION}/lib/R/etc/Rprofile.site
|
||||
# Set default HTTP user agent
|
||||
options(HTTPUserAgent = sprintf("R/%s R (%s)", getRversion(), paste(getRversion(), R.version$platform, R.version$arch, R.version$os)))
|
||||
EOF
|
||||
|
||||
fpm \
|
||||
-s dir \
|
||||
-t rpm \
|
||||
|
|
|
|||
Loading…
Reference in a new issue