forked from sig_core/toolkit
fix rm scripts
This commit is contained in:
parent
4a4708b615
commit
abc469d677
3 changed files with 2 additions and 6 deletions
|
@ -32,7 +32,7 @@ for COMPOSE in "${NONSIG_COMPOSE[@]}"; do
|
|||
for x in BaseOS Minimal; do
|
||||
if [[ "${x}" != "BaseOS" ]]; then
|
||||
echo "${x} ${ARCH}: Removing unnecessary boot image"
|
||||
/bin/rm -v "${x}/${ARCH}/iso/"*boot*
|
||||
/bin/rm -v "${x}/${ARCH}/iso/Rocky-${REVISION}-20"*"${ARCH}"*.iso
|
||||
fi
|
||||
echo "${x} ${ARCH}: Moving ISO images"
|
||||
mv "${x}/${ARCH}/iso/"* "isos/${ARCH}/"
|
||||
|
|
|
@ -32,7 +32,7 @@ for COMPOSE in "${NONSIG_COMPOSE[@]}"; do
|
|||
for x in BaseOS Minimal; do
|
||||
if [[ "${x}" != "BaseOS" ]]; then
|
||||
echo "${x} ${ARCH}: Removing unnecessary boot image"
|
||||
/bin/rm -v "${x}/${ARCH}/iso/"*boot*
|
||||
/bin/rm -v "${x}/${ARCH}/iso/Rocky-${REVISION}-20"*"${ARCH}"*.iso
|
||||
fi
|
||||
echo "${x} ${ARCH}: Moving ISO images"
|
||||
mv "${x}/${ARCH}/iso/"* "isos/${ARCH}/"
|
||||
|
|
|
@ -28,10 +28,6 @@ for COMPOSE in "${NONSIG_COMPOSE[@]}"; do
|
|||
# Sort the ISO's
|
||||
for ARCH in "${ARCHES[@]}"; do
|
||||
for x in BaseOS Minimal; do
|
||||
if [[ "${x}" != "BaseOS" ]]; then
|
||||
echo "${x} ${ARCH}: Removing unnecessary boot image"
|
||||
/bin/rm -v "${x}/${ARCH}/iso/"*boot*
|
||||
fi
|
||||
echo "${x} ${ARCH}: Moving ISO images"
|
||||
mv "${x}/${ARCH}/iso/"* "isos/${ARCH}/"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue