blob: c026a4278efc3a51e16d7462e673a6573437d846 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/usr/bin/env nomsu -V6.14
#
This file defines upgrades from Nomsu <2.5.5.5 to Nomsu 2.5.5.5
use "compatibility/compatibility"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
upgrade action [hash $, sha1 $] to "2.5.5.5" as
=lua ("
\(base64 decode (hash $)):gsub('.', function(c) return ('%x02'):format(c) end)
")
upgrade action [file with hash $] to "2.5.5.5" as
file with hash
base64
=lua "\$:gsub('..', function(xx) return string.char(tonumber(xx, 16)) end)"
|