remove space before ...

This commit is contained in:
Tobias Powalowski 2023-01-19 08:04:48 +01:00
parent 8497e74f73
commit 017df432e7
4 changed files with 6 additions and 6 deletions

View file

@ -31,7 +31,7 @@ _abort_dialog() {
} }
_do_vconsole() { _do_vconsole() {
_dialog --infobox "Setting console font ${_FONT} and keymap ${_KEYMAP} ..." 3 80 _dialog --infobox "Setting console font ${_FONT} and keymap ${_KEYMAP}..." 3 80
echo KEYMAP="${_KEYMAP}" > /etc/vconsole.conf echo KEYMAP="${_KEYMAP}" > /etc/vconsole.conf
echo FONT="${_FONT}" >> /etc/vconsole.conf echo FONT="${_FONT}" >> /etc/vconsole.conf
systemctl restart systemd-vconsole-setup systemctl restart systemd-vconsole-setup
@ -40,7 +40,7 @@ _do_vconsole() {
_set_vconsole() { _set_vconsole() {
if grep -qw 'sun32' /etc/vconsole.conf; then if grep -qw 'sun32' /etc/vconsole.conf; then
_dialog --infobox "Detected big screen size, using 32 font size now ..." 3 60 _dialog --infobox "Detected big screen size, using 32 font size now..." 3 60
_FONT="latarcyrheb-sun32" _FONT="latarcyrheb-sun32"
sleep 2 sleep 2
else else

View file

@ -39,7 +39,7 @@ _root_check
if [[ -n "${_DIR}" ]]; then if [[ -n "${_DIR}" ]]; then
[[ ! -d "${_DIR}" ]] && mkdir -p "${_DIR}" [[ ! -d "${_DIR}" ]] && mkdir -p "${_DIR}"
cd "${_DIR}" || exit 1 cd "${_DIR}" || exit 1
echo "Backup old keys in $_DIR/BACKUP ..." echo "Backup old keys in $_DIR/BACKUP..."
[[ ! -d "BACKUP" ]] && mkdir BACKUP [[ ! -d "BACKUP" ]] && mkdir BACKUP
efi-readvar -v PK -o BACKUP/old_PK.esl efi-readvar -v PK -o BACKUP/old_PK.esl
efi-readvar -v KEK -o BACKUP/old_KEK.esl efi-readvar -v KEK -o BACKUP/old_KEK.esl

View file

@ -60,7 +60,7 @@ _dotimezone () {
_ZONE=$(cat ${_ANSWER}) _ZONE=$(cat ${_ANSWER})
[[ "${_ZONE}" == "${_REGION}" ]] || _ZONE="${_REGION}/${_ZONE}" [[ "${_ZONE}" == "${_REGION}" ]] || _ZONE="${_REGION}/${_ZONE}"
if [[ -n "${_SET_ZONE}" ]]; then if [[ -n "${_SET_ZONE}" ]]; then
_dialog --infobox "Setting Timezone to ${_ZONE} ..." 0 0 _dialog --infobox "Setting Timezone to ${_ZONE}..." 0 0
echo "${_ZONE}" > /tmp/.timezone echo "${_ZONE}" > /tmp/.timezone
timedatectl set-timezone "${_ZONE}" timedatectl set-timezone "${_ZONE}"
_S_NEXTITEM="2" _S_NEXTITEM="2"
@ -87,7 +87,7 @@ _dotimeset() {
if ping -c1 www.google.com >/dev/null 2>&1; then if ping -c1 www.google.com >/dev/null 2>&1; then
if _dialog --yesno \ if _dialog --yesno \
"Do you want to use the Network Time Protocol (NTP) for syncing your clock, by using the internet clock pool?" 6 60; then "Do you want to use the Network Time Protocol (NTP) for syncing your clock, by using the internet clock pool?" 6 60; then
_dialog --infobox "Syncing clock with NTP pool ..." 3 45 _dialog --infobox "Syncing clock with NTP pool..." 3 45
# sync immediatly with standard pool # sync immediatly with standard pool
if ! systemctl restart systemd-timesyncd; then if ! systemctl restart systemd-timesyncd; then
_dialog --msgbox "An error has occured, time was not changed!" 0 0 _dialog --msgbox "An error has occured, time was not changed!" 0 0

View file

@ -32,7 +32,7 @@ while [ $# -gt 0 ]; do
done done
_archboot_check _archboot_check
_download_latest _download_latest
echo -e "\033[1mInformation:\033[0m Logging is done on \033[1m/dev/tty7\033[0m ..." echo -e "\033[1mInformation:\033[0m Logging is done on \033[1m/dev/tty7\033[0m..."
_zram_initialize _zram_initialize
# Generate new environment and launch it with kexec # Generate new environment and launch it with kexec
if [[ -n "${_L_COMPLETE}" || -n "${_L_INSTALL_COMPLETE}" ]]; then if [[ -n "${_L_COMPLETE}" || -n "${_L_INSTALL_COMPLETE}" ]]; then