Fix bug in update

This commit is contained in:
Thomas Forgione 2019-03-17 22:37:40 +01:00
parent 503ddc304e
commit 43c32e23a1
No known key found for this signature in database
GPG Key ID: BFD17A2D71B3B5E7
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ update-npm() {
npm -g install "$package" npm -g install "$package"
done done
seconds=$((`date +%s` - $start_rust_update )) seconds=$((`date +%s` - $start_npm_update ))
formatted=`date -ud "@$seconds" +'%H hours %M minutes %S seconds'` formatted=`date -ud "@$seconds" +'%H hours %M minutes %S seconds'`
echo "\033[32;1m=== Node packages updated in $formatted ===\033[0m" echo "\033[32;1m=== Node packages updated in $formatted ===\033[0m"
} }