mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-20 21:43:19 -07:00
usr/bin/byobu-janitor: move hidden files too
This commit is contained in:
parent
6f8fc5b35a
commit
85d18b56ed
2 changed files with 2 additions and 2 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -1,6 +1,6 @@
|
|||
byobu (3.9) unreleased; urgency=low
|
||||
|
||||
* UNRELEASED
|
||||
* usr/bin/byobu-janitor: move hidden files too
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 10 Nov 2010 18:29:06 -0600
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ if [ -d "$HOME/.$PKG" ]; then
|
|||
ln -sf "$DATA" "$HOME/.$PKG"
|
||||
elif [ -d "$DATA" ]; then
|
||||
# Old and new dir exist; migrate files from old to new
|
||||
mv -f "$HOME/.$PKG/"* "$DATA" 2>/dev/null
|
||||
mv -f "$HOME/.$PKG/"* "$HOME/.$PKG/".* "$DATA" 2>/dev/null
|
||||
rmdir "$HOME/.$PKG"
|
||||
ln -sf "$DATA" "$HOME/.$PKG"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue