chroot-style/ethereal.sh: fix some stuff
This commit is contained in:
parent
21eb5fb9a7
commit
a6830e966e
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ fi
|
||||||
msg_red() {
|
msg_red() {
|
||||||
# error messages in bold/red
|
# error messages in bold/red
|
||||||
[ -n "$NOCOLORS" ] || printf >&2 "\033[1m\033[31m"
|
[ -n "$NOCOLORS" ] || printf >&2 "\033[1m\033[31m"
|
||||||
printf "=> ERROR: %s\\n" "$@"
|
printf "=> ERROR: %s\\n" "$@" >&2
|
||||||
[ -n "$NOCOLORS" ] || printf >&2 "\033[m"
|
[ -n "$NOCOLORS" ] || printf >&2 "\033[m"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ fake_mount() {
|
||||||
[ -f "$2" -o -L "$2" ] && rm -f "$2"
|
[ -f "$2" -o -L "$2" ] && rm -f "$2"
|
||||||
|
|
||||||
ln -s "$1" "$2"
|
ln -s "$1" "$2"
|
||||||
echo "linked $1 -> $2"
|
echo "linked $2 -> $1"
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "${XBPS_ALLOW_CHROOT_BREAKOUT}" != "yes" ]; then
|
if [ "${XBPS_ALLOW_CHROOT_BREAKOUT}" != "yes" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue