mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
Fix escape codes;
When running certain scripts, sometimes an 'm' character is wrongly output to the terminal. This PR fixes all instances of this happening. I've also made 'RD' (red) consistent with 'GN' (green) by removing the leading 0, and my editor has kindly removed all trailing spaces from files.
This commit is contained in:
parent
bfeb4105e9
commit
ee5b965cd6
225 changed files with 2043 additions and 2049 deletions
|
@ -8,11 +8,11 @@ shopt -s expand_aliases
|
|||
alias die='EXIT=$? LINE=$LINENO error_exit'
|
||||
CROSS='\033[1;31m\xE2\x9D\x8C\033[0m'
|
||||
CHECKMARK='\033[0;32m\xE2\x9C\x94\033[0m'
|
||||
RD=`echo "\033[01;31m"`
|
||||
RD=`echo "\033[1;31m"`
|
||||
BL=`echo "\033[36m"`
|
||||
CM='\xE2\x9C\x94\033'
|
||||
GN=`echo "\033[1;92m"`
|
||||
CL=`echo "\033[m"`
|
||||
CL=`echo "\033[0m"`
|
||||
RETRY_NUM=10
|
||||
RETRY_EVERY=3
|
||||
NUM=$RETRY_NUM
|
||||
|
@ -84,7 +84,7 @@ npm i npm@latest -g &>/dev/null
|
|||
echo -e "${CHECKMARK} \e[1;92m Building Vaultwarden (Patience)... \e[0m"
|
||||
git clone https://github.com/dani-garcia/vaultwarden &>/dev/null
|
||||
pushd vaultwarden &>/dev/null
|
||||
cargo clean &>/dev/null
|
||||
cargo clean &>/dev/null
|
||||
cargo build --features sqlite --release &>/dev/null
|
||||
file target/release/vaultwarden &>/dev/null
|
||||
|
||||
|
@ -101,7 +101,7 @@ npm audit fix --silent --legacy-peer-deps || true &>/dev/null
|
|||
npm run --silent dist:oss:selfhost &>/dev/null
|
||||
cp -a build ../web-vault &>/dev/null
|
||||
cd ..
|
||||
mkdir data
|
||||
mkdir data
|
||||
|
||||
echo -e "${CHECKMARK} \e[1;92m Create Systemd Service... \e[0m"
|
||||
cp ../../.env.template /etc/vaultwarden.env &>/dev/null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue