summarylogtreecommitdiffstats
path: root/0001-Do-not-download-pandoc.patch
blob: 960d70131914f3370aca7cc918441bf396a72a28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From f4eba18c684a952f916816b7a005744a4fb1418f Mon Sep 17 00:00:00 2001
From: BrLi <brli@chakralinux.org>
Date: Mon, 26 Apr 2021 14:38:31 +0800
Subject: [PATCH 2/2] Do-not-download-pandoc

---
 forge.config.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/forge.config.js b/forge.config.js
index 4cfe7b2a..8010d8e6 100644
--- a/forge.config.js
+++ b/forge.config.js
@@ -102,10 +102,10 @@ module.exports = {
         try {
           await fs.lstat(path.join(__dirname, `./resources/pandoc-${platform}-${arch}`))
         } catch (err) {
-          await downloadPandoc(platform, arch)
+          console.log('\nSkip pandoc executable download on Arch')
         }
 
-        await fs.copyFile(path.join(__dirname, `./resources/pandoc-${platform}-${arch}`), path.join(__dirname, './resources/pandoc'))
+        console.log('\nDo not copy pandoc executable, is taking cared of via PKGBUILD')
 
         forgeConfig.packagerConfig.extraResource.push('./resources/pandoc')
       } else {
-- 
2.31.1