diff options
author | Damien Flament | 2017-08-26 09:05:36 +0200 |
---|---|---|
committer | Damien Flament | 2017-08-26 09:05:36 +0200 |
commit | 609047617a772ce6aeec8283a624498277c3d5de (patch) | |
tree | 0aded3e0a833e6a7645447c8a6fdd2add6de9ba2 /voxelshop | |
parent | 369293d32d4186e08565a295532df94be3d07bd2 (diff) | |
download | aur-609047617a772ce6aeec8283a624498277c3d5de.tar.gz |
Stored custom startup script in a file within the tarball
Diffstat (limited to 'voxelshop')
-rwxr-xr-x | voxelshop | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/voxelshop b/voxelshop index 3d0d96f4bba2..13eaef068d9e 100755 --- a/voxelshop +++ b/voxelshop @@ -1,4 +1,11 @@ #!/bin/bash -cd /opt/voxelshop/ -./start-linux.sh +cd /opt/{{pkgname}}/ +declare -r DATA_DIR=${XDG_DATA_HOME:-"${HOME}/.local.share"}/{{pkgname}} + +# Update the Getdown configuration file +install -CDm644 -t "${DATA_DIR}" getdown.txt + +# Start the application using Getdown +java -jar getdown-client.jar "${DATA_DIR}" + |