summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/ldapbrowser/files/282_beta2-r1-gentoo.diff')
-rw-r--r--app-misc/ldapbrowser/files/282_beta2-r1-gentoo.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-misc/ldapbrowser/files/282_beta2-r1-gentoo.diff b/app-misc/ldapbrowser/files/282_beta2-r1-gentoo.diff
new file mode 100644
index 000000000000..a12e3e724154
--- /dev/null
+++ b/app-misc/ldapbrowser/files/282_beta2-r1-gentoo.diff
@@ -0,0 +1,13 @@
+--- ldapbrowser/lbe.sh 2001-04-26 00:32:30.000000000 +0200
++++ ldapbrowser/lbe.sh.gentoo 2003-10-30 12:33:20.000000000 +0100
+@@ -15,4 +15,9 @@
+ ARG1=$1
+ fi
+
+-${JAVA} ${OPTIONS} -jar lbe.jar $ARG1 $2 $3 $4 $5 $6 $7 $8 $9
++mkdir -p ${HOME}/.ldapbrowser
++
++[ -e ${HOME}/.ldapbrowser/attributes.conf ] || cp /opt/ldapbrowser-282_beta2/attributes.config ${HOME}/.ldapbrowser/
++
++cd ${HOME}/.ldapbrowser
++${JAVA} ${OPTIONS} -jar /opt/ldapbrowser-282_beta2/lbe.jar $ARG1 $2 $3 $4 $5 $6 $7 $8 $9