aboutsummaryrefslogtreecommitdiff
path: root/gnu.scm
diff options
context:
space:
mode:
authorDavid Boilleau <david_boilleau@gmx.fr>2024-11-08 15:10:24 +0100
committerLudovic Courtès <ludo@gnu.org>2024-11-14 15:41:22 +0100
commite62dc1ebd0c5afe3b227d1967cae6502589b9b84 (patch)
treee7a91ccf5354648ceb239558a1c192ebff3a13d3 /gnu.scm
parent8edd08116452bf6ecd3eff7a7f98f9b0991097df (diff)
downloadguix-e62dc1ebd0c5afe3b227d1967cae6502589b9b84.tar.gz
guix-e62dc1ebd0c5afe3b227d1967cae6502589b9b84.zip
guix-install.sh: Run the uninstall even if already partially done
Removing users, groups or Systemd units fails if they are already absent, causing the uninstall script to exit. The goal here is to make the uninstall always run entirely, whatever parts are already done. * etc/guix-install.sh (sys_delete_build_user): Test if users and groups exist before deleting them. (sys_delete_guix_daemon): Test if /etc/systemd/system/guix-daemon.service file exists before removing the matching Systemd unit. Change-Id: Ibffb1f1b39de675542fb8057af21ecaea1b53d4c Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu.scm')
0 files changed, 0 insertions, 0 deletions