mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
usr/bin/byobu-janitor: fix regression, ensure we can run from
a clean setup
This commit is contained in:
parent
0ee5e4724a
commit
e1394848e7
2 changed files with 3 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -4,6 +4,8 @@ byobu (4.2) unreleased; urgency=low
|
||||||
* usr/bin/byobu-config: remove debug output, LP: #782372
|
* usr/bin/byobu-config: remove debug output, LP: #782372
|
||||||
* usr/lib/byobu/disk_io: fix minor bug in 'command' call
|
* usr/lib/byobu/disk_io: fix minor bug in 'command' call
|
||||||
* usr/lib/byobu/.shutil (properties changed: -x to +x): fix perm
|
* usr/lib/byobu/.shutil (properties changed: -x to +x): fix perm
|
||||||
|
* usr/bin/byobu-janitor: fix regression, ensure we can run from
|
||||||
|
a clean setup
|
||||||
|
|
||||||
[ Scott Moser ]
|
[ Scott Moser ]
|
||||||
* usr/bin/byobu, usr/bin/byobu-reconnect-sockets,
|
* usr/bin/byobu, usr/bin/byobu-reconnect-sockets,
|
||||||
|
|
|
@ -31,7 +31,7 @@ FLAG="$RUN/$PKG.reload-required"
|
||||||
mkdir -p "$XDG"
|
mkdir -p "$XDG"
|
||||||
if [ ! -h "$DATA" ]; then
|
if [ ! -h "$DATA" ]; then
|
||||||
mv -f "$DATA"/* "$DATA"/.* "$XDG" 2>/dev/null || true
|
mv -f "$DATA"/* "$DATA"/.* "$XDG" 2>/dev/null || true
|
||||||
rmdir "$DATA"
|
rmdir "$DATA" 2>/dev/null || true
|
||||||
fi
|
fi
|
||||||
ln -sf "$XDG" "$DATA"
|
ln -sf "$XDG" "$DATA"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue