gnu: offlineimap: Update to 7.0.12.
[jackhill/guix/guix.git] / gnu / packages / patches / byobu-writable-status.patch
CommitLineData
b95bcb8a
EB
1Skeleton status files are installed read-only. When copying to the config dir
2upon initialization, make sure they end up writable.
3
4--- byobu-5.98/usr/bin/byobu-janitor.in
5+++ byobu-5.98/usr/bin/byobu-janitor.in
6@@ -82,6 +82,7 @@
7 if [ ! -r "$BYOBU_CONFIG_DIR/$f" ]; then
8 # Copy from skeleton, if possible
9 cp -f "$BYOBU_PREFIX/share/$PKG/status/$f" "$BYOBU_CONFIG_DIR/$f"
10+ chmod +w "$BYOBU_CONFIG_DIR/$f"
11 # Enable ec2_cost, if we're in ec2 and seeding a new setup
12 if metadata_available; then
13 $BYOBU_SED_INLINE -e "s/#ec2_cost/ec2_cost/g" "$($BYOBU_READLINK -f $BYOBU_CONFIG_DIR/$f)"