mirror of
https://github.com/transmission/transmission
synced 2024-12-21 23:32:35 +00:00
libtransmission: fix copyright header generation (#6874)
This is related to #4850 since libtransmission/mime-types.js generates libtransmission/mime-types.h and puts it there. Also add a note that the file is automatically generated for good measure.
This commit is contained in:
parent
2b75869c80
commit
f3f887c93e
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
|||
// This file was generated with libtransmission/mime-types.js
|
||||
// DO NOT EDIT MANUALLY
|
||||
|
||||
// This file Copyright © Mnemosyne LLC.
|
||||
// It may be used under GPLv2 (SPDX: GPL-2.0-only), GPLv3 (SPDX: GPL-3.0-only),
|
||||
// or any future license endorsed by Mnemosyne LLC.
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
const copyright =
|
||||
`// This file Copyright © 2021-${new Date().getFullYear()} Mnemosyne LLC.
|
||||
`// This file was generated with libtransmission/mime-types.js
|
||||
// DO NOT EDIT MANUALLY
|
||||
|
||||
// This file Copyright © Mnemosyne LLC.
|
||||
// It may be used under GPLv2 (SPDX: GPL-2.0-only), GPLv3 (SPDX: GPL-3.0-only),
|
||||
// or any future license endorsed by Mnemosyne LLC.
|
||||
// License text can be found in the licenses/ folder.`;
|
||||
|
|
Loading…
Reference in a new issue