forked from sig_core/toolkit
add ln for new way
This commit is contained in:
parent
cdcf7e4c87
commit
3c8d0d0ef5
@ -32,10 +32,15 @@ for COMPOSE in "${NONSIG_COMPOSE[@]}"; do
|
|||||||
mv "${x}/${ARCH}/iso/"* "isos/${ARCH}/"
|
mv "${x}/${ARCH}/iso/"* "isos/${ARCH}/"
|
||||||
done
|
done
|
||||||
pushd "isos/${ARCH}" || { echo "${ARCH}: Failed to change directory"; break; }
|
pushd "isos/${ARCH}" || { echo "${ARCH}: Failed to change directory"; break; }
|
||||||
|
# old deprecated way
|
||||||
ln -s "Rocky-${REVISION}-${ARCH}-boot.iso" "Rocky-${ARCH}-boot.iso"
|
ln -s "Rocky-${REVISION}-${ARCH}-boot.iso" "Rocky-${ARCH}-boot.iso"
|
||||||
ln -s "Rocky-${REVISION}-${ARCH}-dvd1.iso" "Rocky-${ARCH}-dvd1.iso"
|
ln -s "Rocky-${REVISION}-${ARCH}-dvd1.iso" "Rocky-${ARCH}-dvd1.iso"
|
||||||
ln -s "Rocky-${REVISION}-${ARCH}-dvd1.iso" "Rocky-${ARCH}-dvd.iso"
|
ln -s "Rocky-${REVISION}-${ARCH}-dvd1.iso" "Rocky-${ARCH}-dvd.iso"
|
||||||
ln -s "Rocky-${REVISION}-${ARCH}-minimal.iso" "Rocky-${ARCH}-minimal.iso"
|
ln -s "Rocky-${REVISION}-${ARCH}-minimal.iso" "Rocky-${ARCH}-minimal.iso"
|
||||||
|
# new way
|
||||||
|
ln -s "Rocky-${REVISION}-${ARCH}-boot.iso" "Rocky-${MAJ}-latest-${ARCH}-boot.iso"
|
||||||
|
ln -s "Rocky-${REVISION}-${ARCH}-dvd1.iso" "Rocky-${MAJ}-latest-${ARCH}-dvd.iso"
|
||||||
|
ln -s "Rocky-${REVISION}-${ARCH}-minimal.iso" "Rocky-${MAJ}-latest-${ARCH}-minimal.iso"
|
||||||
for file in *.iso; do
|
for file in *.iso; do
|
||||||
printf "# %s: %s bytes\n%s\n" \
|
printf "# %s: %s bytes\n%s\n" \
|
||||||
"${file}" \
|
"${file}" \
|
||||||
|
Loading…
Reference in New Issue
Block a user