mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 11:30:37 +02:00
add _RUNNING_ARCH to scripts title
This commit is contained in:
parent
9a6a5fe6ca
commit
88573a2ddb
3 changed files with 7 additions and 5 deletions
|
@ -2,7 +2,8 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
# written by Tobias Powalowski <tpowa@archlinux.org>
|
# written by Tobias Powalowski <tpowa@archlinux.org>
|
||||||
_ANSWER="/tmp/.km"
|
_ANSWER="/tmp/.km"
|
||||||
_TITLE="Archboot | Arch Linux Setup | Console Configuration"
|
_RUNNING_ARCH="$(uname -m)"
|
||||||
|
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup | Console Configuration"
|
||||||
_LIST_MAPS="localectl list-keymaps --no-pager"
|
_LIST_MAPS="localectl list-keymaps --no-pager"
|
||||||
# _dialog()
|
# _dialog()
|
||||||
# an el-cheapo dialog wrapper
|
# an el-cheapo dialog wrapper
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
# written by Tobias Powalowski <tpowa@archlinux.org>
|
# written by Tobias Powalowski <tpowa@archlinux.org>
|
||||||
_ANSWER="/tmp/.tz"
|
_ANSWER="/tmp/.tz"
|
||||||
_TITLE="Archboot | Arch Linux Setup | Clock Configuration"
|
_RUNNING_ARCH="$(uname -m)"
|
||||||
|
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup | Clock Configuration"
|
||||||
# _dialog()
|
# _dialog()
|
||||||
# an el-cheapo dialog wrapper
|
# an el-cheapo dialog wrapper
|
||||||
#
|
#
|
||||||
|
|
|
@ -30,12 +30,12 @@ fi
|
||||||
|
|
||||||
_set_title() {
|
_set_title() {
|
||||||
if [[ "${_DESTDIR}" == "/" ]]; then
|
if [[ "${_DESTDIR}" == "/" ]]; then
|
||||||
_TITLE="Archboot | Arch Linux Setup (System Mode) | https://archboot.com"
|
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup (System Mode) | https://archboot.com"
|
||||||
else
|
else
|
||||||
if [[ -e "${_LOCAL_DB}" ]]; then
|
if [[ -e "${_LOCAL_DB}" ]]; then
|
||||||
_TITLE="Archboot | Arch Linux Setup (Local Mode) | https://archboot.com"
|
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup (Local Mode) | https://archboot.com"
|
||||||
else
|
else
|
||||||
_TITLE="Archboot | Arch Linux Setup (Online Mode) | https://archboot.com"
|
_TITLE="Archboot ${_RUNNING_ARCH} | Arch Linux Setup (Online Mode) | https://archboot.com"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue