mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
* usr/lib/byobu/custom:
- ensure we clear the cache for custom scripts
This commit is contained in:
parent
2e5d4a5208
commit
d30e42e012
2 changed files with 6 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -2,6 +2,8 @@ byobu (5.84) unreleased; urgency=medium
|
||||||
|
|
||||||
* usr/lib/byobu/include/dirs.in:
|
* usr/lib/byobu/include/dirs.in:
|
||||||
- make the custom scripts bin dir
|
- make the custom scripts bin dir
|
||||||
|
* usr/lib/byobu/custom:
|
||||||
|
- ensure we clear the cache for custom scripts
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 26 Jul 2014 16:13:23 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Sat, 26 Jul 2014 16:13:23 -0500
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,10 @@ __custom() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
[ -n "$output" ] || return
|
if [ -z "$output" ]; then
|
||||||
|
rm -f "$BYOBU_RUN_DIR/status.$BYOBU_BACKEND/custom"*
|
||||||
|
return
|
||||||
|
fi
|
||||||
printf "$output" | $BYOBU_SED ':a;N;$!ba;s/\n//g'
|
printf "$output" | $BYOBU_SED ':a;N;$!ba;s/\n//g'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue