mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 07:16:17 +02:00
Drop newline in error message
This commit is contained in:
parent
3b0f60e5c2
commit
984c5cdc50
1 changed files with 1 additions and 1 deletions
|
@ -105,8 +105,8 @@ sub update {
|
||||||
my $tmpdir = tempdir( CLEANUP => 1 );
|
my $tmpdir = tempdir( CLEANUP => 1 );
|
||||||
my $filename;
|
my $filename;
|
||||||
($url, $filename) = `cd $tmpdir && $Nix::Config::curl --silent --write-out '%{url_effective}\n%{filename_effective}' -L '$url' -O`;
|
($url, $filename) = `cd $tmpdir && $Nix::Config::curl --silent --write-out '%{url_effective}\n%{filename_effective}' -L '$url' -O`;
|
||||||
die "$0: unable to check ‘$url’\n" if $? != 0;
|
|
||||||
chomp $url;
|
chomp $url;
|
||||||
|
die "$0: unable to check ‘$url’\n" if $? != 0;
|
||||||
|
|
||||||
# If the URL contains a version number, append it to the name
|
# If the URL contains a version number, append it to the name
|
||||||
# attribute (so that "nix-env -q" on the channels profile
|
# attribute (so that "nix-env -q" on the channels profile
|
||||||
|
|
Loading…
Reference in a new issue