Fix colors not printing out
This commit is contained in:
parent
9fac1f16c0
commit
348eaab74d
@ -169,9 +169,9 @@ print_phase() {
|
|||||||
install_aur() {
|
install_aur() {
|
||||||
[ -z "$INSTALL_USER" ] && return 0
|
[ -z "$INSTALL_USER" ] && return 0
|
||||||
if [ -z "$2" ]; then
|
if [ -z "$2" ]; then
|
||||||
echo -n "Installing ${LGREEN}$1${NC} from AUR..."
|
echo -ne "Installing ${LGREEN}$1${NC} from AUR..."
|
||||||
else
|
else
|
||||||
echo -n "Installing ${LGREEN}$1${NC} from AUR ($2)..."
|
echo -ne "Installing ${LGREEN}$1${NC} from AUR ($2)..."
|
||||||
fi
|
fi
|
||||||
local dir="$HOME_DIR/$1"
|
local dir="$HOME_DIR/$1"
|
||||||
quiet sudo -u "$INSTALL_USER" git clone -q "https://aur.archlinux.org/$1.git" "$dir"
|
quiet sudo -u "$INSTALL_USER" git clone -q "https://aur.archlinux.org/$1.git" "$dir"
|
||||||
@ -192,9 +192,9 @@ remove() {
|
|||||||
|
|
||||||
install() {
|
install() {
|
||||||
if [ -z "$2" ]; then
|
if [ -z "$2" ]; then
|
||||||
echo -n "Installing ${LGREEN}$1${NC}..."
|
echo -ne "Installing ${LGREEN}$1${NC}..."
|
||||||
else
|
else
|
||||||
echo -n "Installing ${LGREEN}$1${NC} ($2)..."
|
echo -ne "Installing ${LGREEN}$1${NC} ($2)..."
|
||||||
fi
|
fi
|
||||||
set +e
|
set +e
|
||||||
quiet pacman -Sq --needed --noconfirm $1
|
quiet pacman -Sq --needed --noconfirm $1
|
||||||
@ -493,9 +493,9 @@ install_src() {
|
|||||||
qpushd "$HOME"
|
qpushd "$HOME"
|
||||||
local PKG_NAME="$(basename "$1")"
|
local PKG_NAME="$(basename "$1")"
|
||||||
if [ -z "$2" ]; then
|
if [ -z "$2" ]; then
|
||||||
echo -n "Installing ${LGREEN}$PKG_NAME${NC} from source..."
|
echo -ne "Installing ${LGREEN}$PKG_NAME${NC} from source..."
|
||||||
else
|
else
|
||||||
echo -n "Installing ${LGREEN}$PKG_NAME${NC} from source ($2)..."
|
echo -ne "Installing ${LGREEN}$PKG_NAME${NC} from source ($2)..."
|
||||||
fi
|
fi
|
||||||
quiet git clone -q "$1"
|
quiet git clone -q "$1"
|
||||||
qpushd "$PKG_NAME"
|
qpushd "$PKG_NAME"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user