Replace the square bracket with bracket

This commit is contained in:
Joshua Boniface 2019-06-18 10:59:31 -04:00
parent e3ed5675a9
commit 553f7c92f9
1 changed files with 2 additions and 2 deletions

View File

@ -7,10 +7,10 @@ set -o errexit
TMPFILE=$(mktemp)
TGTFILE=/run/pvc-motd.dynamic
DEBVER="[$( grep 'PRETTY_NAME=' /etc/os-release | awk -F'"' '{ print $2 }' )]"
DEBVER="$( grep 'PRETTY_NAME=' /etc/os-release | awk -F'"' '{ print $2 }' )"
echo >> $TMPFILE
echo "\033[01;34mParallel Virtual Cluster \033[01;36m${DEBVER}\033[0m" >> $TMPFILE
echo "\033[01;34mParallel Virtual Cluster \033[01;36m(${DEBVER})\033[0m" >> $TMPFILE
echo -n "> \033[01;32m$(hostname)\033[0m" >> $TMPFILE
if test -f /etc/hostdesc; then
echo " - $( cat /etc/hostdesc )" >> $TMPFILE