mirror of https://git.rancher.io/charts
9 lines
182 B
Plaintext
9 lines
182 B
Plaintext
|
#!/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
|