fix release script

This commit is contained in:
Tobias Powalowski 2022-01-24 21:16:18 +01:00
parent e17ff8e34b
commit 7b406fa28e
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ rm -r "${_W_DIR}"
echo "Create boot directory ..."
mkdir -p boot/licenses/amd-ucode
for i in *.iso; do
if ! echo "${i}" | grep -q latest "${i}"; then
if ! echo "${i}" | grep -q latest; then
isoinfo -R -i "${i}" -x /"${_AMD_UCODE}" 2>/dev/null > "${_AMD_UCODE}"
isoinfo -R -i "${i}" -x /"${_INITRAMFS}" 2>/dev/null > "${_INITRAMFS}"
isoinfo -R -i "${i}" -x /"${_KERNEL}" 2>/dev/null > "${_KERNEL_ARCHBOOT}"

View file

@ -68,7 +68,7 @@ rm -r "${_W_DIR}"
echo "Create boot directory ..."
mkdir -p boot/licenses/{amd-ucode,intel-ucode}
for i in *.iso; do
if ! echo "${i}" | grep -q latest "${i}"; then
if ! echo "${i}" | grep -q latest; then
isoinfo -R -i "${i}" -x /"${_AMD_UCODE}" 2>/dev/null > "${_AMD_UCODE}"
isoinfo -R -i "${i}" -x /"${_INTEL_UCODE}" 2>/dev/null > "${_INTEL_UCODE}"
isoinfo -R -i "${i}" -x /"${_INITRAMFS}" 2>/dev/null > "${_INITRAMFS}"