mirror of
https://gitlab.com/deepcypher/dc-kc.git
synced 2026-01-27 11:12:08 +00:00
Changes if condition to selection else
This commit is contained in:
@@ -382,8 +382,9 @@ spec:
|
||||
cd /templates
|
||||
for file in *.yaml
|
||||
do
|
||||
if [ "${file}" == "gitea.yaml" ] || \
|
||||
[ "${file}" == "rook.yaml"]; then
|
||||
if [ "${file}" != "gitea.yaml" ] && \
|
||||
[ "${file}" != "rook.yaml"]; then
|
||||
else
|
||||
echo "filtering ${file}"
|
||||
rm "${file}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user