mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-20 15:06:19 -05:00
Adding date to install log.
This commit is contained in:
parent
7e25394d54
commit
7861789d9d
2 changed files with 4 additions and 0 deletions
|
|
@ -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 $?
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue