1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 15:46:57 +01:00
Files
openshift-docs/scripts/analytics_fix.sh
2020-06-08 11:14:31 +10:00

14 lines
905 B
Bash

#!/bin/bash
set -ev
NC='\033[0m' # No Color
GREEN='\033[0;32m'
# Download analytics related files and move them to correct folders
echo -e "${GREEN}==== Download files with removed analytics ====${NC}"
wget https://raw.githubusercontent.com/openshift/openshift-docs/master/scripts/ocpdocs/_analytics_other.html -O _templates/_analytics_other.html
wget https://raw.githubusercontent.com/openshift/openshift-docs/master/scripts/ocpdocs/_footer_other.html.erb -O _templates/_footer_other.html.erb
wget https://raw.githubusercontent.com/openshift/openshift-docs/master/scripts/ocpdocs/_topnav_other.html -O _templates/_topnav_other.html
wget https://raw.githubusercontent.com/openshift/openshift-docs/master/scripts/ocpdocs/index-commercial.html -O index-commercial.html
wget https://raw.githubusercontent.com/openshift/openshift-docs/master/scripts/ocpdocs/search-commercial.html -O search-commercial.html