mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
remove special characters from output, for ncp-web
This commit is contained in:
parent
f044c6d6b2
commit
06a07cbb0c
@ -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
|
||||
|
||||
@ -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() { :; }
|
||||
|
||||
@ -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
|
||||
)
|
||||
@ -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
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user