Set user agent during build process

This commit is contained in:
Greg Lin 2019-08-23 16:04:16 -05:00
commit 92028bb31b

View file

@ -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 \