include main.sh in evobackupctl
This commit is contained in:
parent
28a0f7a17a
commit
0f0b328f27
|
@ -1,7 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
readonly VERSION="23.12-pre"
|
||||
|
||||
# shellcheck disable=SC2155
|
||||
readonly PROGNAME=$(basename "${0}")
|
||||
# shellcheck disable=SC2155
|
||||
|
@ -12,6 +10,8 @@ readonly ARGS=$@
|
|||
# Change this to wherever you install the libraries
|
||||
readonly LIBDIR="/usr/local/lib/evobackup"
|
||||
|
||||
source "${LIBDIR}/main.sh"
|
||||
|
||||
show_version() {
|
||||
cat <<END
|
||||
${PROGNAME} version ${VERSION}
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
# shellcheck disable=SC2034,SC2317
|
||||
|
||||
readonly VERSION="23.12-pre"
|
||||
|
||||
# set all programs to C language (english)
|
||||
export LC_ALL=C
|
||||
|
||||
|
|
Loading…
Reference in a new issue