14 lines
355 B
Plaintext
14 lines
355 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/install-df-data-content-to-home.sh
|
|
. $pkg_dir/shell/export-libs.sh
|
|
. $pkg_dir/shell/export-workaround.sh
|
|
|
|
cd "$data_dir"
|
|
exec ./dfhack "$@"
|