diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-03-24 18:12:30 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-03-24 18:54:41 +0100 |
commit | 637db76d7ad1af5323a6a6b87b8a6a2e6dfed754 (patch) | |
tree | da0b5b002a8ae926a0377a62bd552f874db4c722 /doc | |
parent | 72a5cc53586080e75ae4ee80f3a2467ff30c4f5e (diff) | |
download | patches-637db76d7ad1af5323a6a6b87b8a6a2e6dfed754.tar patches-637db76d7ad1af5323a6a6b87b8a6a2e6dfed754.tar.gz |
guix system: Fix mistaken 'guix pull' warning upon 'reconfigure'.
Fixes <https://bugs.gnu.org/38196>.
Reported by Florian Pelz <pelzflorian@pelzflorian.de>.
* guix/scripts/system.scm (maybe-suggest-running-guix-pull): Check
whether 'current-profile' returns true instead of checking for the
existence of ~root/.config/guix/current. That way, "sudo guix system
reconfigure" no longer emits a warning in that case.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions