mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-17 07:52:46 +01:00
Use stricter Bash settings in activation script
For example, with these settings Bash will complain if uninitialized variables are used. Some code has been improved to run cleanly with these settings.
This commit is contained in:
parent
207c349825
commit
fea693ba16
4 changed files with 8 additions and 7 deletions
|
|
@ -184,7 +184,7 @@ in
|
|||
in
|
||||
# The dconf service needs to be installed and prepared.
|
||||
stringAfter [ "installPackages" ] ''
|
||||
if [[ $DRY_RUN ]]; then
|
||||
if [[ -v DRY_RUN ]]; then
|
||||
echo ${pkgs.gnome3.dconf}/bin/dconf load ${dconfPath} "<" ${sf}
|
||||
else
|
||||
${pkgs.gnome3.dconf}/bin/dconf load ${dconfPath} < ${sf}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue