mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
* Pause if errors occur.
This commit is contained in:
parent
6bafeafb88
commit
8d3c346559
1 changed files with 1 additions and 1 deletions
|
@ -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