diff options
author | Eric Bavier <bavier@member.fsf.org> | 2015-11-01 09:56:05 -0600 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2015-11-03 17:08:41 -0600 |
commit | b95bcb8ae0a8a4f5c29bce8f6486a91d6d5441cc (patch) | |
tree | 00ff04faa8320edf226edd1b8b9a8e982680b9e9 /gnu/packages/patches/byobu-writable-status.patch | |
parent | e5930e5a13b878f8ea46aa87f0c638421f32ab59 (diff) | |
download | guix-b95bcb8ae0a8a4f5c29bce8f6486a91d6d5441cc.tar guix-b95bcb8ae0a8a4f5c29bce8f6486a91d6d5441cc.tar.gz |
gnu: Add byobu.
* gnu/packages/screen.scm (byobu): New variable.
* gnu/packages/patches/byobu-writable-status.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/patches/byobu-writable-status.patch')
-rw-r--r-- | gnu/packages/patches/byobu-writable-status.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/patches/byobu-writable-status.patch b/gnu/packages/patches/byobu-writable-status.patch new file mode 100644 index 0000000000..2858280273 --- /dev/null +++ b/gnu/packages/patches/byobu-writable-status.patch @@ -0,0 +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 +@@ -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)" |