fix uninstaller for variants (Mixbus32C vs Mixbus)
authorRobin Gareus <robin@gareus.org>
Sat, 25 Jun 2016 17:56:34 +0000 (19:56 +0200)
committerRobin Gareus <robin@gareus.org>
Sat, 25 Jun 2016 17:56:34 +0000 (19:56 +0200)
tools/linux_packaging/stage2.run.in

index 5241e806d4592a33c279ada9782f904c18dccb26..453c35d9b5a224bbaf12caaf333ea4b0a25da2a1 100755 (executable)
@@ -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