diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2024-01-28 11:18:19 +0100 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2024-01-28 11:18:19 +0100 |
commit | f9c648858cb43cc3e1d2541fe677f398d4cadd50 (patch) | |
tree | f62ed7459817c449e95a90d85bbfb06254989da3 /pkgs/tools/admin/meshcentral | |
parent | c854e0a46f38c0ac8804d368601dcafac63336dd (diff) |
meshcentral: fix update script
Diffstat (limited to 'pkgs/tools/admin/meshcentral')
-rwxr-xr-x | pkgs/tools/admin/meshcentral/update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/admin/meshcentral/update.sh b/pkgs/tools/admin/meshcentral/update.sh index e51ce647b4150..950fa617ce81c 100755 --- a/pkgs/tools/admin/meshcentral/update.sh +++ b/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 / |