chore: drop quote stripping from LSB_DESCRIPTION; no longer required

As only /etc/os-release is parsed, no quote stripping is required.
This commit is contained in:
Martin Wimpress 2024-05-09 11:29:22 +01:00 committed by Martin Wimpress
parent efea85695b
commit ef55e74317
1 changed files with 0 additions and 2 deletions

View File

@ -249,8 +249,6 @@ function vm_boot() {
if [ -e /etc/os-release ]; then if [ -e /etc/os-release ]; then
LSB_DESCRIPTION=$(grep PRETTY_NAME /etc/os-release | cut -d'"' -f2) LSB_DESCRIPTION=$(grep PRETTY_NAME /etc/os-release | cut -d'"' -f2)
fi fi
# Strip quotes from LSB_DESCRIPTION
LSB_DESCRIPTION="$(echo "${LSB_DESCRIPTION}" | sed 's/"//g')"
echo "Quickemu ${VERSION} using ${QEMU} v${QEMU_VER_LONG}" echo "Quickemu ${VERSION} using ${QEMU} v${QEMU_VER_LONG}"
echo " - Host: ${LSB_DESCRIPTION} running ${KERNEL_NAME} ${KERNEL_VER} ${KERNEL_NODE}" echo " - Host: ${LSB_DESCRIPTION} running ${KERNEL_NAME} ${KERNEL_VER} ${KERNEL_NODE}"