3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00
guix/gnu/packages/patches/byobu-writable-status.patch
Tobias Geerinckx-Rice 9e29921162
gnu: byobu: Update to 5.127.
* gnu/packages/screen.scm (byobu): Update to 5.127.
* gnu/packages/patches/byobu-writable-status.patch: Adjust context
accordingly.
2018-08-23 17:16:41 +02:00

13 lines
430 B
Diff

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