forked from lix-project/lix
* Pause if errors occur.
This commit is contained in:
parent
6bafeafb88
commit
8d3c346559
|
@ -11,7 +11,7 @@ die unless defined $pkgFile;
|
|||
# from a web browser, the user gets to see us.
|
||||
if (!defined $ENV{"NIX_HAVE_TERMINAL"}) {
|
||||
$ENV{"NIX_HAVE_TERMINAL"} = "1";
|
||||
exec("xterm", "-e", "@bindir@/nix-install-package", "$pkgFile");
|
||||
exec("xterm", "-e", "@shell@", "-c", "@bindir@/nix-install-package '$pkgFile' || read");
|
||||
die "cannot execute `xterm'";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue