symlinks for 8

This commit is contained in:
Louis Abel 2023-09-03 23:14:49 -07:00
parent 03d1bfd638
commit bfcfcb2671
Signed by untrusted user: label
GPG Key ID: B37E62D143879B36
2 changed files with 18 additions and 0 deletions

View File

@ -77,3 +77,12 @@ for ARCH in "${ARCHES[@]}"; do
treeinfoModder "${ARCH}"
treeinfoSaver "${ARCH}"
done
# Change Symlink if required
echo "Setting symlink to ${REV}"
pushd "${STAGING_ROOT}/${CATEGORY_STUB}" || exit
/bin/rm "${STAGING_ROOT}/${CATEGORY_STUB}/8-BETA"
ln -sr "${STAGING_ROOT}/${CATEGORY_STUB}/${REV}" 8-BETA
echo "Attempting hard link"
perform_hardlink "${STAGING_ROOT}/${CATEGORY_STUB}/${REV}"
popd || exit

View File

@ -77,3 +77,12 @@ for ARCH in "${ARCHES[@]}"; do
treeinfoModder "${ARCH}"
treeinfoSaver "${ARCH}"
done
# Change Symlink if required
echo "Setting symlink to ${REV}"
pushd "${STAGING_ROOT}/${CATEGORY_STUB}" || exit
/bin/rm "${STAGING_ROOT}/${CATEGORY_STUB}/8-LookAhead"
ln -sr "${STAGING_ROOT}/${CATEGORY_STUB}/${REV}" 8-LookAhead
echo "Attempting hard link"
perform_hardlink "${STAGING_ROOT}/${CATEGORY_STUB}/${REV}"
popd || exit