File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -93,16 +93,8 @@ if [[ ! -z "$HTACCESS_DIRS" ]]; then
9393 touch $PACKAGE /$TYPE /robots.txt
9494 echo -e " User-agent: *\nDisallow: /$URL_DIR /$URL_VERSION " >> $PACKAGE /$TYPE /robots.txt
9595 done
96-
97- # brute force separate password for container-platform-ocp distribution
98- if [ $dir = " commercial_package/commercial/container-platform-ocp/4.3" ]; then
99- echo " ---> separate .htpasswd protection to $dir "
100- echo ' openshift:$apr1$c41fpuxh$jHe/W0gYLffn6501Cx2TS/' > commercial_package/commercial/container-platform-ocp/.htpasswd
101- else
102- echo ' redhat:$apr1$1HYe8rB6$6pa5OVd01quYUYl8ymyqK0' > commercial_package/commercial/.htpasswd
103- echo ' redhat:$apr1$1HYe8rB6$6pa5OVd01quYUYl8ymyqK0' > community_package/community/.htpasswd
104- fi
105-
96+ echo ' redhat:$apr1$1HYe8rB6$6pa5OVd01quYUYl8ymyqK0' > commercial_package/commercial/.htpasswd
97+ echo ' redhat:$apr1$1HYe8rB6$6pa5OVd01quYUYl8ymyqK0' > community_package/community/.htpasswd
10698fi
10799
108100# Optionally restrict crawlers from indexing the content
You can’t perform that action at this time.
0 commit comments