From c7c389d4fbc06f861e9ece5b8d1c854c8a4a2a95 Mon Sep 17 00:00:00 2001
From: smeghead <smeghead>
Date: Sun, 3 Apr 2005 13:35:52 +0000
Subject: [PATCH] added eepget wrapper script for *nix

---
 installer/resources/eepget          | 2 ++
 installer/resources/postinstall.bat | 1 +
 installer/resources/postinstall.sh  | 1 +
 3 files changed, 4 insertions(+)
 create mode 100644 installer/resources/eepget

diff --git a/installer/resources/eepget b/installer/resources/eepget
new file mode 100644
index 0000000000..b45c2e590f
--- /dev/null
+++ b/installer/resources/eepget
@@ -0,0 +1,2 @@
+#!/bin/sh
+java -cp lib/i2p.jar net.i2p.util.EepGet $*
diff --git a/installer/resources/postinstall.bat b/installer/resources/postinstall.bat
index d1ce099df1..25d48ccc68 100644
--- a/installer/resources/postinstall.bat
+++ b/installer/resources/postinstall.bat
@@ -38,6 +38,7 @@ start /b /i /d"%INSTALL_PATH%" i2prouter.bat %INSTALL_PATH%
 
 ) else (
 
+del "%INSTALL_PATH%eepget"
 del "%INSTALL_PATH%i2prouter"
 :: del "%INSTALL_PATH%install_i2p_service_unix"
 del "%INSTALL_PATH%install_i2p_service_winnt.bat"
diff --git a/installer/resources/postinstall.sh b/installer/resources/postinstall.sh
index 35ff2fd6e5..a92e797f8b 100644
--- a/installer/resources/postinstall.sh
+++ b/installer/resources/postinstall.sh
@@ -56,6 +56,7 @@ esac
 
 cp $wrapperpath/wrapper.jar ./lib/
 cp $wrapperpath/i2psvc .
+chmod 744 ./eepget
 chmod 744 ./i2psvc
 chmod 744 ./scripts/i2pbench.sh
 chmod 744 ./scripts/i2ptest.sh
-- 
GitLab