summarylogtreecommitdiffstats
path: root/lbe.sh
diff options
context:
space:
mode:
authorMantas Mikulėnas2022-09-22 08:22:24 +0300
committerMantas Mikulėnas2022-09-22 08:22:54 +0300
commit193929a70cc8a8b2962ceef61ad836bc58bbf40b (patch)
tree364d5778521f7639cd11d98ce713e908e48705ca /lbe.sh
parent8566c3e31621393afc725c645b50bf8f2f780954 (diff)
downloadaur-193929a70cc8a8b2962ceef61ad836bc58bbf40b.tar.gz
doesn't seem like the .properties file has any use... or any effect
Diffstat (limited to 'lbe.sh')
-rwxr-xr-xlbe.sh14
1 files changed, 2 insertions, 12 deletions
diff --git a/lbe.sh b/lbe.sh
index 5966d94b66f4..f9a6f5fd66c1 100755
--- a/lbe.sh
+++ b/lbe.sh
@@ -13,25 +13,15 @@ fi
# expects the user to double-click lbe.jar in their ~/Downloads/lbe), so for a
# system-wide /usr installation we must manually set up a config directory and
# chdir() into it.
-
if [ ! -d "$confdir" ]; then
mkdir -p -m 0700 "$confdir"
cp -a "$datadir"/skel/. "$confdir"/
-
- # XXX: we don't really need lbe.properties if we chdir anyway
-
- cat > "$confdir/lbe.properties" <<-EOF
- base=$confdir/
- session.dir=$confdir/
- cacert.file=$confdir/lbecacerts
- EOF
fi
+cd "$confdir"
-# Protect session configs
+# Protect session configuration files.
umask 077
-cd "$confdir"
-
for jvm in /usr/lib/jvm/java-8-{openjdk,jre}; do
if [ -d "$jvm" ]; then
exec "$jvm"/jre/bin/java -jar "$appdir/lbe.jar" "$@"