~ruther/guix-local

ref: dfd18d0d751c06c8e9e93059e7a6c4fca363cc76 guix-local/gnu/packages/patches/byobu-writable-status.patch -rw-r--r-- 430 bytes
dfd18d0d — Maxim Cournoyer build: gnu-build-system: Compress man pages with zstd. 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
Skeleton status files are installed read-only.  When copying to the config dir
upon initialization, make sure they end up writable.

--- byobu-5.127/usr/bin/byobu-janitor.in
+++ byobu-5.127/usr/bin/byobu-janitor.in
@@ -82,6 +82,7 @@
 	if [ ! -r "$BYOBU_CONFIG_DIR/$f" ]; then
 		# Copy from skeleton, if possible
 		cp -f "$BYOBU_PREFIX/share/$PKG/status/$f" "$BYOBU_CONFIG_DIR/$f"
+		chmod +w "$BYOBU_CONFIG_DIR/$f"
 	fi
 done