summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/0001-do-not-update-copyright-year.patch
blob: d71507e75abf6fec57f396c5cd397d6a3f92e807 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Xavier Guimard <yadd@debian.org>
Description: Avoi updating copyright year during build to allow reproducible builds.

diff -Naurp bootstrap-html.orig/build/banner.js bootstrap-html/build/banner.js
--- bootstrap-html.orig/build/banner.js
+++ bootstrap-html/build/banner.js
@@ -6,7 +6,7 @@ const year = new Date().getFullYear()
 function getBanner(pluginFilename) {
   return `/*!
   * Bootstrap${pluginFilename ? ` ${pluginFilename}` : ''} v${pkg.version} (${pkg.homepage})
-  * Copyright 2011-${year} ${pkg.author}
+  * Copyright 2011-2023 ${pkg.author}
   * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
   */`
 }