nomsu/lib/compatibility/2.5.5.5.nom

18 lines
552 B
Plaintext
Raw Normal View History

#!/usr/bin/env nomsu -V6.15.13.8
#
This file defines upgrades from Nomsu <2.5.5.5 to Nomsu 2.5.5.5
use "compatibility/compatibility"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2018-12-30 19:04:34 -08:00
upgrade action [hash $, sha1 $] to "2.5.5.5" as
2018-12-30 23:58:47 -08:00
=lua ("
\(base64 decode (hash $)):gsub('.', function(c) return ('%x02'):format(c) end)
")
2018-12-30 19:04:34 -08:00
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)"