tv alacritty: don't expect $HOME/ref to exists
This commit is contained in:
parent
7af6c2c668
commit
68e845da87
@ -70,8 +70,7 @@ pkgs.symlinkJoin {
|
||||
# Install stored configuration if it has changed.
|
||||
# This allows for both declarative updates and runtime modifications.
|
||||
${pkgs.coreutils}/bin/mkdir -p "$HOME"
|
||||
ref=$(${pkgs.coreutils}/bin/cat "$HOME"/ref)
|
||||
if test "$ref" != ${config-file}; then
|
||||
if test "$(${pkgs.coreutils}/bin/cat "$HOME"/ref)" != ${config-file}; then
|
||||
echo ${config-file} > "$HOME"/ref
|
||||
${pkgs.coreutils}/bin/cp ${config-file} "$HOME"/.alacritty.yml
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user