rancher-charts/scripts/clean

9 lines
182 B
Plaintext
Raw Normal View History

2020-07-21 20:22:47 +00:00
#!/usr/bin/env bash
for f in packages/*; do
if [[ -f ${f}/package.yaml ]]; then
if [[ -z $CHART || $CHART == $(basename -- ${f}) ]]; then
rm -rf ${f}/charts
fi
fi
done