Make module cache writeable

This commit is contained in:
2025-09-07 14:21:11 +03:00
parent e6c3c19767
commit f3fda69750
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: micro name: micro
description: A modern and intuitive terminal-based text editor description: A modern and intuitive terminal-based text editor
version: 2.0.14 version: 2.0.14
revision: 3 revision: 4
url: https://micro-editor.github.io/ url: https://micro-editor.github.io/
license: MIT license: MIT
architecture: any architecture: any
+3
View File
@@ -10,6 +10,9 @@ FILENAME="${DOWNLOAD##*/}"
prepare() { prepare() {
wget "$DOWNLOAD" wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
cd "$BPM_SOURCE"
GOFLAGS="-modcacherw" go mod download
} }
# The build function is executed in the source directory # The build function is executed in the source directory