Skip to content

Commit

Permalink
remove special characters from output, for ncp-web
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Aug 24, 2017
1 parent f044c6d commit 06a07cb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/ncp-update
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
cd /
rm -rf /tmp/ncp-update-tmp

echo -e "NextCloudPi updated to version \e[1m$VER\e[0m"
echo -e "NextCloudPi updated to version $VER"
exit
} # force to read the whole thing into memory, as its contents might change in update.sh
2 changes: 1 addition & 1 deletion build-devel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ install()
cd /
rm -rf /tmp/ncp-update-tmp

echo -e "NextCloudPi updated to version \e[1m$VER\e[0m"
echo -e "NextCloudPi updated to version $VER"
}

cleanup() { :; }
Expand Down
6 changes: 3 additions & 3 deletions etc/library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ function install_script()
(
local SCRIPT=$1
source ./$SCRIPT
echo -e "Installing \e[1m$( basename $SCRIPT .sh )\e[0m"
echo -e "Installing $( basename $SCRIPT .sh )"
set +x
install
)
Expand All @@ -206,7 +206,7 @@ function install_script()
function activate_script()
{
local SCRIPT=$1
echo -e "Activating \e[1m$( basename $SCRIPT .sh )\e[0m"
echo -e "Activating $( basename $SCRIPT .sh )"
launch_script $SCRIPT
}

Expand Down Expand Up @@ -241,7 +241,7 @@ function configure_script()
echo -e "$INSTALLATION_CODE" > $SCRIPT # save configuration
source ./$SCRIPT # load configuration
printf '\033[2J' && tput cup 0 0 # clear screen, don't clear scroll, cursor on top
echo -e "Launching \e[1m$( basename $SCRIPT .sh )\e[0m"
echo -e "Launching $( basename $SCRIPT .sh )"
set +x
configure
return 0
Expand Down

0 comments on commit 06a07cb

Please sign in to comment.