mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
15 lines
329 B
Plaintext
15 lines
329 B
Plaintext
#!@stdenv_shell@
|
|
|
|
set -ex
|
|
|
|
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-df-data-content-to-home.sh
|
|
. $pkg_dir/shell/export-libs.sh
|
|
. $pkg_dir/shell/export-workaround.sh
|
|
|
|
cd $data_dir
|
|
$pkg_dir/libs/Dwarf_Fortress "$@"
|