mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
12 lines
269 B
Plaintext
12 lines
269 B
Plaintext
#!@stdenv_shell@
|
|
|
|
data_dir=${XDG_DATA_HOME:-$HOME/.local/share}/df_linux
|
|
pkg_dir=@prefix@/share/df_linux
|
|
|
|
. $pkg_dir/shell/install-df-data-to-home.sh
|
|
. $pkg_dir/shell/install-dfhack-data-to-home.sh
|
|
. $pkg_dir/shell/export-libs.sh
|
|
|
|
cd "$data_dir"
|
|
exec ./dfhack-run "$@"
|