First attempt at writing the installer
This commit is contained in:
10
updateindex.nu
Executable file
10
updateindex.nu
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env nix-shell
|
||||
#!nix-shell -p jq nushell -i nu
|
||||
|
||||
open index.json
|
||||
| each {|entry|
|
||||
{src: $entry.src, dest: $entry.dest,
|
||||
hash: (cat $entry.src | hash sha256)}
|
||||
}
|
||||
| collect
|
||||
| save -f index.json
|
||||
Reference in New Issue
Block a user