From 840c7af5702a04e22fb7de47e2a32b5e0c7853c0 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Mon, 28 Dec 2020 14:36:02 +0100 Subject: Fix logic error in finding package full name from its basename --- make_slackware_live.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make_slackware_live.sh') diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 80ecc64..ebae873 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -2444,7 +2444,7 @@ EOT # get that added so that our mew submenu will be populated: for DAWPKG in $(cat ${LIVE_TOOLDIR}/pkglists/z03_daw.lst |grep -v x42 |grep -Ev '(^ *#)' ) ; do # Find the installed full package name belonging to the DAW package: - PKGINST=$( ls -1 ${LIVE_ROOTDIR}/var/log/packages/${DAWPKG}* 2>/dev/null |grep -E "/var/log/packages/${DAWPKG}-[^-]+-[^-]+-[^-]+" || true) + PKGINST=$( ls -1 ${LIVE_ROOTDIR}/var/log/packages/${DAWPKG}* 2>/dev/null |grep -E "/var/log/packages/${DAWPKG}-[^-]+-[^-]+-[^-]+$" || true) if [ -n "${PKGINST}" ]; then for DESKTOPF in $(grep 'usr/share/applications/.*.desktop' ${PKGINST}) do -- cgit v1.2.3