diff options
author | Mantas Mikulėnas | 2022-09-22 08:22:24 +0300 |
---|---|---|
committer | Mantas Mikulėnas | 2022-09-22 08:22:54 +0300 |
commit | 193929a70cc8a8b2962ceef61ad836bc58bbf40b (patch) | |
tree | 364d5778521f7639cd11d98ce713e908e48705ca /lbe.sh | |
parent | 8566c3e31621393afc725c645b50bf8f2f780954 (diff) | |
download | aur-193929a70cc8a8b2962ceef61ad836bc58bbf40b.tar.gz |
doesn't seem like the .properties file has any use... or any effect
Diffstat (limited to 'lbe.sh')
-rwxr-xr-x | lbe.sh | 14 |
1 files changed, 2 insertions, 12 deletions
@@ -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" "$@" |