diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-07-30 19:39:32 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-07-30 19:39:32 -0700 |
| commit | c6a7b0be9ebdddb58a03749705987cb3058060d3 (patch) | |
| tree | bb98639f13e9589b161c0c09ae269621e2addbee /compatibility/2.5.5.5.nom | |
| parent | 56143adf979ae3e425c783ac1a6f1be3e7b58f82 (diff) | |
Added compatibility for 2.5.5.5 (file hash changes).
Diffstat (limited to 'compatibility/2.5.5.5.nom')
| -rw-r--r-- | compatibility/2.5.5.5.nom | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/compatibility/2.5.5.5.nom b/compatibility/2.5.5.5.nom new file mode 100644 index 0000000..d127294 --- /dev/null +++ b/compatibility/2.5.5.5.nom @@ -0,0 +1,14 @@ +#!/usr/bin/env nomsu -V2.5.5.4 +# + This file defines upgrades from Nomsu <2.5.5.5 to Nomsu 2.5.5.5 + +use "compatibility/compatibility.nom" + +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)" |
