Skip to content

Commit a445e00

Browse files
Merge pull request #20222 from vikram-redhat/master
fix assemble script
2 parents 07ff8ee + 5d6a456 commit a445e00

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.s2i/bin/assemble

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff 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
10698
fi
10799

108100
# Optionally restrict crawlers from indexing the content

0 commit comments

Comments
 (0)