Adding date to install log.

This commit is contained in:
Roland 2022-03-09 21:15:00 -07:00
parent 7e25394d54
commit 7861789d9d
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
2 changed files with 4 additions and 0 deletions

View file

@ -47,4 +47,6 @@ git clone https://github.com/lrnselfreliance/wrolpi.git /opt/wrolpi || :
(cd /opt/wrolpi && git fetch && git checkout "${BRANCH}" && git reset --hard origin/"${BRANCH}") || exit 4
/opt/wrolpi/scripts/ubuntu_20.04_install.sh 2>&1 | tee /opt/wrolpi/install.log
echo "Install end $(date '+%Y-%m-%d %H:%M:%S')" >>/opt/wrolpi/install.log
exit $?

View file

@ -3,6 +3,8 @@
set -x
set -e
echo "Ubuntu 20.04 install start: $(date '+%Y-%m-%d %H:%M:%S')"
# Install npm repos.
curl -fsSL https://deb.nodesource.com/setup_14.x | bash -
# Update if we haven't updated in the last day.