helpers misc
This commit is contained in:
parent
f2bf5d45ac
commit
f8f3210585
4
helpers
4
helpers
@ -57,7 +57,7 @@ symlink() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
download() {
|
download() {
|
||||||
require wget 1
|
require wget
|
||||||
wget "$1" -O "$2"
|
wget "$1" -O "$2"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -167,7 +167,7 @@ print() {
|
|||||||
|
|
||||||
debug() {
|
debug() {
|
||||||
if [ "$2" ]; then
|
if [ "$2" ]; then
|
||||||
print "${DIM}${BOLD}${RESET}${DIM} ${FUNCNAME[1]:-?}():${BASH_LINENO:-?}\t$1 "
|
print "${DIM}${BOLD}${RESET}${DIM}${FUNCNAME[1]:-?}():${BASH_LINENO:-?}\t$1 "
|
||||||
else
|
else
|
||||||
print "${DIM}${BOLD}${RESET}${DIM}$1 "
|
print "${DIM}${BOLD}${RESET}${DIM}$1 "
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user