aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/byobu-writable-status.patch
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-08-23 03:11:30 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-08-23 17:16:41 +0200
commit9e2992116213ef16b947ef371d8cd0e93f39de44 (patch)
tree3352af9bb58bd8d5575be8d50105353b16baf9be /gnu/packages/patches/byobu-writable-status.patch
parentf868276b8af13ab577fffd41da5da33076e0665e (diff)
downloadgnu-guix-9e2992116213ef16b947ef371d8cd0e93f39de44.tar
gnu-guix-9e2992116213ef16b947ef371d8cd0e93f39de44.tar.gz
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.
Diffstat (limited to 'gnu/packages/patches/byobu-writable-status.patch')
-rw-r--r--gnu/packages/patches/byobu-writable-status.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/packages/patches/byobu-writable-status.patch b/gnu/packages/patches/byobu-writable-status.patch
index 2858280273..31dc1f2fd3 100644
--- a/gnu/packages/patches/byobu-writable-status.patch
+++ b/gnu/packages/patches/byobu-writable-status.patch
@@ -1,13 +1,13 @@
Skeleton status files are installed read-only. When copying to the config dir
upon initialization, make sure they end up writable.
---- byobu-5.98/usr/bin/byobu-janitor.in
-+++ byobu-5.98/usr/bin/byobu-janitor.in
+--- 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"
- # Enable ec2_cost, if we're in ec2 and seeding a new setup
- if metadata_available; then
- $BYOBU_SED_INLINE -e "s/#ec2_cost/ec2_cost/g" "$($BYOBU_READLINK -f $BYOBU_CONFIG_DIR/$f)"
+ fi
+ done
+