mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01:00
dconf: handle missing oldGenPath
This commit is contained in:
parent
2ecb3ea990
commit
86bc0e349f
1 changed files with 5 additions and 3 deletions
|
@ -105,9 +105,11 @@ in {
|
||||||
export DCONF_DBUS_RUN_SESSION="${pkgs.dbus}/bin/dbus-run-session"
|
export DCONF_DBUS_RUN_SESSION="${pkgs.dbus}/bin/dbus-run-session"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
${cleanup} \
|
if [[ -v oldGenPath ]]; then
|
||||||
"$oldGenPath/${statePath}" \
|
${cleanup} \
|
||||||
"$newGenPath/${statePath}"
|
"$oldGenPath/${statePath}" \
|
||||||
|
"$newGenPath/${statePath}"
|
||||||
|
fi
|
||||||
|
|
||||||
$DRY_RUN_CMD $DCONF_DBUS_RUN_SESSION ${pkgs.dconf}/bin/dconf load / < ${iniFile}
|
$DRY_RUN_CMD $DCONF_DBUS_RUN_SESSION ${pkgs.dconf}/bin/dconf load / < ${iniFile}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue