diff --git a/build.xml b/build.xml
index 2b29fd87f8a84f8729cfbd61927553338a05bdbc..bff0114a84c6b6f6f99c989b5bf04d95c0c2375e 100644
--- a/build.xml
+++ b/build.xml
@@ -225,7 +225,7 @@
         <copy file="installer/resources/install_i2p_service_unix" todir="pkg-temp/" />
         <copy file="installer/resources/install_i2p_service_winnt.bat" todir="pkg-temp/" />
         <copy file="installer/resources/osid" todir="pkg-temp/" />
-        <copy file="installer/resources/postinstall" todir="pkg-temp/" />
+        <copy file="installer/resources/postinstall.sh" todir="pkg-temp/" />
         <copy file="installer/resources/postinstall.bat" todir="pkg-temp/" />
         <copy file="installer/resources/systray.config" todir="pkg-temp/" />
         <copy file="installer/resources/uninstall_i2p_service_unix" todir="pkg-temp/" />