diff --git a/debian/changelog b/debian/changelog index 3734b0a7..23fffb97 100644 --- a/debian/changelog +++ b/debian/changelog @@ -15,6 +15,8 @@ byobu (5.66) unreleased; urgency=low * usr/lib/byobu/updates_available: LP: #1255493 - fix updates_available for pkcon - Thanks, kealthou@gmail.com + * usr/lib/byobu/custom: LP: #1255490 + - ignore backup files, ending in ~ -- Dustin Kirkland Mon, 18 Nov 2013 12:31:12 -0600 diff --git a/usr/lib/byobu/custom b/usr/lib/byobu/custom index 1db44d2e..6071041a 100755 --- a/usr/lib/byobu/custom +++ b/usr/lib/byobu/custom @@ -28,7 +28,12 @@ __custom() { local i= output= for i in "$BYOBU_CONFIG_DIR/bin/"[0-9]*_*; do # Loop over custom scripts + # Ensure executable [ -x "$i" ] || continue + # Ignore vim backup files ending in ~ + case "$i" in + *~) continue ;; + esac local now="$(date +%s)" local script=${i##*/} local freq=${script%%_*}