diff options
Diffstat (limited to 'nixpkgs/pkgs/tools/admin/meshcentral/update.sh')
-rwxr-xr-x | nixpkgs/pkgs/tools/admin/meshcentral/update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/tools/admin/meshcentral/update.sh b/nixpkgs/pkgs/tools/admin/meshcentral/update.sh index e51ce647b415..950fa617ce81 100755 --- a/nixpkgs/pkgs/tools/admin/meshcentral/update.sh +++ b/nixpkgs/pkgs/tools/admin/meshcentral/update.sh @@ -47,7 +47,7 @@ update-source-version meshcentral "$version" "$hash" "$tarball" new_yarn_hash=$(prefetch-yarn-deps "$expr_dir/yarn.lock") new_yarn_hash=$(nix-hash --type sha256 --to-sri "$new_yarn_hash") old_yarn_hash=$(nix-instantiate --eval -A meshcentral.offlineCache.outputHash | tr -d '"') -sed -i "$expr_dir/default.nix" -re "s|\"$old_yarn_hash\"|\"$new_yarn_hash\"|" +sed -i "$expr_dir/default.nix" -e "s|\"$old_yarn_hash\"|\"$new_yarn_hash\"|" # Only clean up if everything worked cd / |