firefox-bin, thunderbird-bin: tweak updater's formatting

This tiny change should make the result nixfmt-conformant.
This commit is contained in:
Vladimír Čunát 2024-12-12 18:07:15 +01:00
parent f29b68ce6a
commit 3067835b64
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
2 changed files with 3 additions and 2 deletions

View File

@ -79,7 +79,8 @@ writeScript "update-${pname}" ''
tr " " ":"`; do
# create an entry for every locale
cat >> $tmpfile <<EOF
{ url = "$url$version/`echo $line | cut -d":" -f3`";
{
url = "$url$version/`echo $line | cut -d":" -f3`";
locale = "`echo $line | cut -d":" -f3 | sed "s/$arch\///" | sed "s/\/.*//"`";
arch = "$arch";
sha256 = "`echo $line | cut -d":" -f1`";

View File

@ -793,5 +793,5 @@
arch = "linux-i686";
sha256 = "f3ba1f101bc1cc33fbca683c2d3999e5ee24790a8492f08fd7cfeaea9d451ae5";
}
];
];
}