mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-24 07:06:19 -07:00
* usr/lib/byobu/custom: LP: #1255490
- ignore backup files, ending in ~
This commit is contained in:
parent
8ce10261fe
commit
6a2ee1a8bf
2 changed files with 7 additions and 0 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -15,6 +15,8 @@ byobu (5.66) unreleased; urgency=low
|
||||||
* usr/lib/byobu/updates_available: LP: #1255493
|
* usr/lib/byobu/updates_available: LP: #1255493
|
||||||
- fix updates_available for pkcon
|
- fix updates_available for pkcon
|
||||||
- Thanks, kealthou@gmail.com
|
- Thanks, kealthou@gmail.com
|
||||||
|
* usr/lib/byobu/custom: LP: #1255490
|
||||||
|
- ignore backup files, ending in ~
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 18 Nov 2013 12:31:12 -0600
|
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 18 Nov 2013 12:31:12 -0600
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,12 @@ __custom() {
|
||||||
local i= output=
|
local i= output=
|
||||||
for i in "$BYOBU_CONFIG_DIR/bin/"[0-9]*_*; do
|
for i in "$BYOBU_CONFIG_DIR/bin/"[0-9]*_*; do
|
||||||
# Loop over custom scripts
|
# Loop over custom scripts
|
||||||
|
# Ensure executable
|
||||||
[ -x "$i" ] || continue
|
[ -x "$i" ] || continue
|
||||||
|
# Ignore vim backup files ending in ~
|
||||||
|
case "$i" in
|
||||||
|
*~) continue ;;
|
||||||
|
esac
|
||||||
local now="$(date +%s)"
|
local now="$(date +%s)"
|
||||||
local script=${i##*/}
|
local script=${i##*/}
|
||||||
local freq=${script%%_*}
|
local freq=${script%%_*}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue