From 47f561c635e4e6f242ac4cb05828ec62a272c4e1 Mon Sep 17 00:00:00 2001 From: Matt C Date: Fri, 14 May 2021 12:44:01 -0400 Subject: [PATCH] ensure log is on new system --- citrine.internal.sh | 4 ++-- citrine.sh | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/citrine.internal.sh b/citrine.internal.sh index 4cc40de..fff9edc 100755 --- a/citrine.internal.sh +++ b/citrine.internal.sh @@ -189,6 +189,6 @@ fi arch-chroot /mnt /continue.sh rm /mnt/continue.sh -inf "Installation should now be complete. Please press enter to reboot :)" +inf "Installation should now be complete." read -reboot + diff --git a/citrine.sh b/citrine.sh index e3395fe..ffe1dcc 100755 --- a/citrine.sh +++ b/citrine.sh @@ -1,3 +1,5 @@ #!/usr/bin/env bash -sudo citrine.internal 0>&1 3>&1 | tee /var/log/citrine.log \ No newline at end of file +sudo citrine.internal 0>&1 3>&1 | tee /var/log/citrine.log +sudo cp /var/log/citrine.log /mnt/var/. +echo "Run 'reboot' to restart. :)" \ No newline at end of file