I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 8b293b21 authored by kytv's avatar kytv
Browse files

symlink instead of copying

I created this patch a couple of years ago and at that time symlinking (for
reasons I don't remember anymore) didn't work. Now it works with symlinks, so
let's go with that. (Tested in OpenBSD 5.7)
parent 94bba8d1
No related branches found
No related tags found
No related merge requests found
...@@ -546,13 +546,12 @@ setup_openbsd() { ...@@ -546,13 +546,12 @@ setup_openbsd() {
set -e # abort in case of error set -e # abort in case of error
# Package java-tanukiwrapper-3.5.19.1 misspells 'tanuki' # Package java-tanukiwrapper-3.5.19.1 misspells 'tanuki'
if [ -e "$pkg_path/lib/tanukuwrapper/libwrapper.so" ]; then if [ -e "$pkg_path/lib/tanukuwrapper/libwrapper.so" ]; then
cp "$pkg_path/lib/tanukuwrapper/libwrapper.so" "$I2P/lib/libwrapper.so" ln -sf "$pkg_path/lib/tanukuwrapper/libwrapper.so" "$I2P/lib/libwrapper.so"
else # they fixed the path else # they fixed the path
cp "$pkg_path/lib/tanukiwrapper/libwrapper.so" "$I2P/lib/libwrapper.so" ln -sf "$pkg_path/lib/tanukiwrapper/libwrapper.so" "$I2P/lib/libwrapper.so"
fi fi
cp "$pkg_path/share/java/classes/tanukiwrapper.jar" "$I2P/lib/wrapper.jar" ln -sf "$pkg_path/share/java/classes/tanukiwrapper.jar" "$I2P/lib/wrapper.jar"
cp "$pkg_path/sbin/tanukiwrapper" "$WRAPPER_CMD" ln -sf "$pkg_path/sbin/tanukiwrapper" "$WRAPPER_CMD"
chmod +x "$WRAPPER_CMD"
fi fi
set +e set +e
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment