mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
files: avoid cleanup if old home-files is missing
(cherry picked from commit 171702dd88
)
This commit is contained in:
parent
0bdbdea2e2
commit
ef6799c1ce
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ in
|
||||||
}
|
}
|
||||||
|
|
||||||
function cleanOldGen() {
|
function cleanOldGen() {
|
||||||
if [[ ! -v oldGenPath ]] ; then
|
if [[ ! -v oldGenPath || ! -e "$oldGenPath/home-files" ]] ; then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue