diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-01-14 17:14:34 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-01-14 17:14:57 -0800 |
| commit | ddef8be3df626d63f6e575d4c1416295a22371ad (patch) | |
| tree | 78af9584447b085f06d6412d2cc20137a460848b /lib/compatibility/2.5.5.5.nom | |
| parent | 9fceff7e785bb234971b443809eef3da9051c598 (diff) | |
Moved compatibility to lib/ and fixed path searching for .peg files.
Diffstat (limited to 'lib/compatibility/2.5.5.5.nom')
| -rw-r--r-- | lib/compatibility/2.5.5.5.nom | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/compatibility/2.5.5.5.nom b/lib/compatibility/2.5.5.5.nom new file mode 100644 index 0000000..c026a42 --- /dev/null +++ b/lib/compatibility/2.5.5.5.nom @@ -0,0 +1,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)" |
