mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 11:30:37 +02:00
add APPNAME
This commit is contained in:
parent
de3fdfebc8
commit
4f87a2e58d
2 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
# created by Tobias Powalowski <tpowa@archlinux.org>
|
||||
_APPNAME=${0##*/}
|
||||
. /etc/archboot/defaults
|
||||
. /etc/archboot/server-update.conf
|
||||
. /usr/lib/archboot/common.sh
|
||||
|
|
|
@ -12,7 +12,7 @@ _usage () {
|
|||
echo -e "\e[1m---------------------------------------------\e[m"
|
||||
echo "Run automatic tests to detect errors/changes."
|
||||
echo ""
|
||||
echo -e "usage: add parameter \e[1m${_APPNAME} run\e[m to execute script."
|
||||
echo -e "usage: \e[1m${_APPNAME} run\e[m"
|
||||
exit 0
|
||||
}
|
||||
_run_test () {
|
||||
|
|
Loading…
Reference in a new issue