From b8442f8acd50bfce6b17b6a71edf85e59badb7ff Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 25 Jun 2016 19:56:34 +0200 Subject: [PATCH] fix uninstaller for variants (Mixbus32C vs Mixbus) --- tools/linux_packaging/stage2.run.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/linux_packaging/stage2.run.in b/tools/linux_packaging/stage2.run.in index 5241e806d4..453c35d9b5 100755 --- a/tools/linux_packaging/stage2.run.in +++ b/tools/linux_packaging/stage2.run.in @@ -508,7 +508,7 @@ MENU_FILE_PATH="${INSTALL_DEST_BASE}/${PGM_FULL_NAME}/share" ################################ # uninstall any older versions -UNINSTALLERS=$(find ${INSTALL_DEST_BASE} -maxdepth 1 -type f -name "${PGM_NAME}*.uninstall.sh") +UNINSTALLERS=$(find ${INSTALL_DEST_BASE} -maxdepth 1 -type f -name "${PGM_NAME}-*.uninstall.sh") if [ ! -z "$UNINSTALLERS" ]; then for i in $UNINSTALLERS; do