mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 05:53:22 -07:00
usr/bin/byobu-janitor: make sure this runs to completion, LP: #676605
This commit is contained in:
parent
a8e57ab2b7
commit
b13c13eea2
2 changed files with 2 additions and 1 deletions
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -2,6 +2,7 @@ byobu (3.10) unreleased; urgency=low
|
||||||
|
|
||||||
* usr/lib/byobu/custom: fix typo in for loop, LP: #673728, thanks for
|
* usr/lib/byobu/custom: fix typo in for loop, LP: #673728, thanks for
|
||||||
the triage Jorge E. Gómez
|
the triage Jorge E. Gómez
|
||||||
|
* usr/bin/byobu-janitor: make sure this runs to completion, LP: #676605
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 12 Nov 2010 22:45:25 -0600
|
-- Dustin Kirkland <kirkland@ubuntu.com> Fri, 12 Nov 2010 22:45:25 -0600
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ FLAG="$RUN/$PKG.reload-required"
|
||||||
# Let's get prepped to switch over to XDG one day; maintain symlink for now
|
# Let's get prepped to switch over to XDG one day; maintain symlink for now
|
||||||
mkdir -p "$XDG"
|
mkdir -p "$XDG"
|
||||||
if [ -d "$DATA" ] && [ ! -h "$DATA" ]; then
|
if [ -d "$DATA" ] && [ ! -h "$DATA" ]; then
|
||||||
mv -f "$DATA"/* "$DATA"/.* "$XDG" 2>/dev/null
|
mv -f "$DATA"/* "$DATA"/.* "$XDG" 2>/dev/null || true
|
||||||
rmdir "$DATA"
|
rmdir "$DATA"
|
||||||
fi
|
fi
|
||||||
ln -sf "$XDG" "$DATA"
|
ln -sf "$XDG" "$DATA"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue