File tree Expand file tree Collapse file tree
overlays/turnkey.d/tkl-bashlib/usr/local/src/tkl-bashlib Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export DEBIAN_FRONTEND=noninteractive
2525
2626# functions for errors and warnings
2727fatal () { echo " FATAL: ${@ } " >&2 ; exit 1; }
28- warn () { echo " WARN: ${@ } " >&2 ; exit 1 ; }
28+ warn () { echo " WARN: ${@ } " >&2 ; }
2929
3030# check for integers
3131# if any elements of $@ are _not_ integers - will return 1
Original file line number Diff line number Diff line change 1+ # (c) 2026 - TurnKey GNU/Linux - all rights reserved
2+ #
3+ # This script is part of TKLDev BashLib.
4+ #
5+ # The source can be located locally on TKLDev:
6+ # ${FAB_PATH}/common/overlays/turnkey.d/tkl-bashlib
7+ #
8+ # To use it within a conf script, first source the base 'init' script:
9+ #
10+ # source /usr/local/src/tkl-bashlib/init
11+ #
12+ # For more info, including licence, please see the README.rst (should be in
13+ # the same dir as this file).
14+
15+ dl () {
16+ cd " $2 "
17+ if [[ " $FAB_HTTP_PROXY " ]]; then
18+ http_proxy=" $FAB_HTTP_PROXY " https_proxy=" $FAB_HTTPS_PROXY " wget " $1 "
19+ else
20+ wget " $1 "
21+ fi
22+ cd -
23+ }
You can’t perform that action at this time.
0 commit comments