diff --git a/installer/resources/postinstall.sh b/installer/resources/postinstall.sh
index e79038b1143172285a3e68e597039f30098740ac..7910c5400ea380b3a7fc1e02eeea9fef29a74649 100644
--- a/installer/resources/postinstall.sh
+++ b/installer/resources/postinstall.sh
@@ -95,7 +95,7 @@ rm -rf ./icons
 rm -rf ./lib/wrapper
 rm -f ./lib/*.dll
 rm -f ./*.bat
-rm -f ./fix_logfile_path.cmd
+rm -f ./*.cmd
 rm -f ./*.exe
 rm -rf ./installer