Commit 8d3c34e7 authored by Christopher League's avatar Christopher League
Browse files

Fix use of strace

parent c11c9293
......@@ -20,11 +20,11 @@ let
[[ $(id -un) == root ]] || {
exec sudo -H $0 "$@"
}
set -o xtrace
latest=$(${pkgs.git}/bin/git ls-remote ${repo} ${ref}|cut -f1)
if [[ "${hash}" == "$latest" ]]; then
echo Already up to date.
else
set -o xtrace
nix-channel --update liucs
nixos-rebuild switch
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment