aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/byobu-writable-status.patch
blob: 31dc1f2fd3611f79bbe5aba7df4d630b8be20dcc (about) (plain)
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
 
a1b2bb6402559965'>services: science.scm: Add missing copyright headers....This module was always supposed to have the GPL3 header in place. Follow-up to 8f19e63f760fe02f9969225da2f3f3c36801218f. * gnu/services/science.scm: Add Copyright headers. Efraim Flashner 2020-06-28services: Add rshiny service....* gnu/services/science.scm: New file. (<rshiny-configuration>): New record. (rshiny-shepherd-service-type): New variable. * doc/guix.texi (Miscellaneous Services): Document it. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Efraim Flashner