forked from sig_core/toolkit
fix rm scripts
This commit is contained in:
parent
4a4708b615
commit
abc469d677
@ -32,7 +32,7 @@ for COMPOSE in "${NONSIG_COMPOSE[@]}"; do
|
|||||||
for x in BaseOS Minimal; do
|
for x in BaseOS Minimal; do
|
||||||
if [[ "${x}" != "BaseOS" ]]; then
|
if [[ "${x}" != "BaseOS" ]]; then
|
||||||
echo "${x} ${ARCH}: Removing unnecessary boot image"
|
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
|
fi
|
||||||
echo "${x} ${ARCH}: Moving ISO images"
|
echo "${x} ${ARCH}: Moving ISO images"
|
||||||
mv "${x}/${ARCH}/iso/"* "isos/${ARCH}/"
|
mv "${x}/${ARCH}/iso/"* "isos/${ARCH}/"
|
||||||
|
@ -32,7 +32,7 @@ for COMPOSE in "${NONSIG_COMPOSE[@]}"; do
|
|||||||
for x in BaseOS Minimal; do
|
for x in BaseOS Minimal; do
|
||||||
if [[ "${x}" != "BaseOS" ]]; then
|
if [[ "${x}" != "BaseOS" ]]; then
|
||||||
echo "${x} ${ARCH}: Removing unnecessary boot image"
|
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
|
fi
|
||||||
echo "${x} ${ARCH}: Moving ISO images"
|
echo "${x} ${ARCH}: Moving ISO images"
|
||||||
mv "${x}/${ARCH}/iso/"* "isos/${ARCH}/"
|
mv "${x}/${ARCH}/iso/"* "isos/${ARCH}/"
|
||||||
|
@ -28,10 +28,6 @@ for COMPOSE in "${NONSIG_COMPOSE[@]}"; do
|
|||||||
# Sort the ISO's
|
# Sort the ISO's
|
||||||
for ARCH in "${ARCHES[@]}"; do
|
for ARCH in "${ARCHES[@]}"; do
|
||||||
for x in BaseOS Minimal; 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"
|
echo "${x} ${ARCH}: Moving ISO images"
|
||||||
mv "${x}/${ARCH}/iso/"* "isos/${ARCH}/"
|
mv "${x}/${ARCH}/iso/"* "isos/${ARCH}/"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user