Skip to content

Commit

Permalink
installer: fix missing path to cat (#27)
Browse files Browse the repository at this point in the history
Co-authored-by: Carl Hjerpe <[email protected]>
  • Loading branch information
Lillecarl and Carl Hjerpe authored Jan 23, 2024
1 parent 09d2dd7 commit bb339db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/installer.nix
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ pkgs.writeShellScript "flatpak-managed-install" ''
set -eu
# Setup state variables
NEW_STATE=$(cat ${stateFile})
NEW_STATE=$(${pkgs.coreutils}/bin/cat ${stateFile})
if [[ -f ${statePath} ]]; then
OLD_STATE=$(cat ${statePath})
OLD_STATE=$(${pkgs.coreutils}/bin/cat ${statePath})
else
OLD_STATE={}
fi
Expand Down

0 comments on commit bb339db

Please sign in to comment.