From 3ac70938a2848ae2625238f252535ad6dd46200a Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Sun, 18 Sep 2011 22:45:59 -0500 Subject: [PATCH] script/makepkg: attempt to save port config during shutdown, if possible --- script/makepkg | 1 + 1 file changed, 1 insertion(+) diff --git a/script/makepkg b/script/makepkg index 9e9e3b4..5e9e44d 100755 --- a/script/makepkg +++ b/script/makepkg @@ -109,6 +109,7 @@ chup?() { chshutdown() { # Short-circuit if nothing is mounted mount | grep -q "${chroot_dir}" || return 0 + chup? && port_save_config || meh "Not saving port config" meh "Shutting down chroot" umount "${chroot_dir}/var/ports/distfiles" umount "${chroot_dir}/usr/ports" -- 2.42.0