usr/bin/byobu-janitor: fix regression, ensure we can run from

a clean setup
This commit is contained in:
Dustin Kirkland 2011-05-21 14:57:26 +02:00
commit e1394848e7
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View file

@ -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,

View file

@ -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"