diff --git a/installer/resources/postinstall.sh b/installer/resources/postinstall.sh
index fdfa2f164201d9a443a609e7c006f8a42d5fffee..a411b8e9ceab40daa7aa87a757eff414ed946636 100644
--- a/installer/resources/postinstall.sh
+++ b/installer/resources/postinstall.sh
@@ -121,8 +121,7 @@ rm -rf ./utility.jar
 
 if [ ! `echo $HOST_OS  |grep osx` ]; then
     rm -rf ./Start\ I2P\ Router.app
-    rm -f install_i2p_service_osx.command
-    rm -f install_i2p_service_osx.command
+    rm -f *i2p_service_osx.command
     rm -f net.i2p.router.plist.template
     #rm -f I2P\ Router\ Console.webloc
 fi