Preserve the default HTTP user agent for R 3.6+
This commit is contained in:
parent
9a8d2ee4ef
commit
e496419e09
6 changed files with 36 additions and 0 deletions
|
|
@ -15,6 +15,12 @@ if [ -d /opt/R/${R_VERSION} ]; then
|
||||||
fi
|
fi
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
# Preserve the default HTTP user agent for R 3.6+
|
||||||
|
cat <<'EOF' >> /opt/R/${R_VERSION}/lib/R/etc/Rprofile.site
|
||||||
|
# Add OS version info to the HTTP user agent
|
||||||
|
options(HTTPUserAgent = paste(c(utils::sessionInfo()$running, getOption("HTTPUserAgent")), collapse = "; "))
|
||||||
|
EOF
|
||||||
|
|
||||||
fpm \
|
fpm \
|
||||||
-s dir \
|
-s dir \
|
||||||
-t rpm \
|
-t rpm \
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,12 @@ if [[ ! -d /tmp/output/debian-9 ]]; then
|
||||||
mkdir -p /tmp/output/debian-9
|
mkdir -p /tmp/output/debian-9
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Preserve the default HTTP user agent for R 3.6+
|
||||||
|
cat <<'EOF' >> /opt/R/${R_VERSION}/lib/R/etc/Rprofile.site
|
||||||
|
# Add OS version info to the HTTP user agent
|
||||||
|
options(HTTPUserAgent = paste(c(utils::sessionInfo()$running, getOption("HTTPUserAgent")), collapse = "; "))
|
||||||
|
EOF
|
||||||
|
|
||||||
fpm \
|
fpm \
|
||||||
-s dir \
|
-s dir \
|
||||||
-t deb \
|
-t deb \
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,12 @@ if [ -d /opt/R/${R_VERSION} ]; then
|
||||||
fi
|
fi
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
# Preserve the default HTTP user agent for R 3.6+
|
||||||
|
cat <<'EOF' >> /opt/R/${R_VERSION}/lib/R/etc/Rprofile.site
|
||||||
|
# Add OS version info to the HTTP user agent
|
||||||
|
options(HTTPUserAgent = paste(c(utils::sessionInfo()$running, getOption("HTTPUserAgent")), collapse = "; "))
|
||||||
|
EOF
|
||||||
|
|
||||||
fpm \
|
fpm \
|
||||||
-s dir \
|
-s dir \
|
||||||
-t rpm \
|
-t rpm \
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,12 @@ if [ -d /opt/R/${R_VERSION} ]; then
|
||||||
fi
|
fi
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
# Preserve the default HTTP user agent for R 3.6+
|
||||||
|
cat <<'EOF' >> /opt/R/${R_VERSION}/lib/R/etc/Rprofile.site
|
||||||
|
# Add OS version info to the HTTP user agent
|
||||||
|
options(HTTPUserAgent = paste(c(utils::sessionInfo()$running, getOption("HTTPUserAgent")), collapse = "; "))
|
||||||
|
EOF
|
||||||
|
|
||||||
fpm \
|
fpm \
|
||||||
-s dir \
|
-s dir \
|
||||||
-t rpm \
|
-t rpm \
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,12 @@ if [[ ! -d /tmp/output/ubuntu-1604 ]]; then
|
||||||
mkdir -p /tmp/output/ubuntu-1604
|
mkdir -p /tmp/output/ubuntu-1604
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Preserve the default HTTP user agent for R 3.6+
|
||||||
|
cat <<'EOF' >> /opt/R/${R_VERSION}/lib/R/etc/Rprofile.site
|
||||||
|
# Add OS version info to the HTTP user agent
|
||||||
|
options(HTTPUserAgent = paste(c(utils::sessionInfo()$running, getOption("HTTPUserAgent")), collapse = "; "))
|
||||||
|
EOF
|
||||||
|
|
||||||
fpm \
|
fpm \
|
||||||
-s dir \
|
-s dir \
|
||||||
-t deb \
|
-t deb \
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,12 @@ if [[ ! -d /tmp/output/ubuntu-1804 ]]; then
|
||||||
mkdir -p /tmp/output/ubuntu-1804
|
mkdir -p /tmp/output/ubuntu-1804
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Preserve the default HTTP user agent for R 3.6+
|
||||||
|
cat <<'EOF' >> /opt/R/${R_VERSION}/lib/R/etc/Rprofile.site
|
||||||
|
# Add OS version info to the HTTP user agent
|
||||||
|
options(HTTPUserAgent = paste(c(utils::sessionInfo()$running, getOption("HTTPUserAgent")), collapse = "; "))
|
||||||
|
EOF
|
||||||
|
|
||||||
fpm \
|
fpm \
|
||||||
-s dir \
|
-s dir \
|
||||||
-t deb \
|
-t deb \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue