Commit e72f2ae9 authored by sokai's avatar sokai

upgrade: small text tweaks

parent fc5cfe23
......@@ -149,11 +149,11 @@ upgrade() {
start
VERSION=$(grep 'SCRIPTVERSION=' ${SCRIPT} -m 1 | cut -f2 -d'='|sed 's/ /%20/g'|sed "s/'//g")
SUCCESS="new version (${VERSION}) installed at ${SCRIPT} (${SCRIPT} upgrade)"
SUCCESS="version (${VERSION}) installed at ${SCRIPT} (${SCRIPT} upgrade)"
echo ${SUCCESS}
logger -t ${SCRIPTNAME} ${SUCCESS}
else
ERROR="couldn't download new version - current version remains at ${SCRIPT} (${SCRIPT} upgrade)"
ERROR="download wasn't successful, so current version remains at ${SCRIPT} (${SCRIPT} upgrade)"
echo ${ERROR}
logger -t ${SCRIPTNAME} ${ERROR}
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment