Compare commits

..

1 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 4f77804dac Apply remaining changes
Co-authored-by: kroese <5763256+kroese@users.noreply.github.com>
2026-08-05 19:37:00 +00:00
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -291,7 +291,7 @@ getLanguage() {
lang="Polish" lang="Polish"
culture="pl-PL" ;; culture="pl-PL" ;;
"br" | "pt" | "pt-br" | "portuguese" | "português" | "portugues" ) "br" | "pt" | "pt-br" | "portuguese" | "português" | "portugues" )
[[ "$input" == "pt-br" ]] || id="pt-br" [[ "$input" != "pt-br" ]] && id="pt-br"
short="pt" short="pt"
lang="Brazilian Portuguese" lang="Brazilian Portuguese"
desc="Portuguese" desc="Portuguese"
+3 -3
View File
@@ -274,7 +274,7 @@ startInstall() {
skipInstall "$BOOT" "$previousBase" && return 1 skipInstall "$BOOT" "$previousBase" && return 1
if [ -z "$previousBase" ] && hasData; then if [ -z "$previousBase" ] && hasDisk; then
if ! backupPrevious ""; then if ! backupPrevious ""; then
warn "the backup was incomplete, continuing with installation..." warn "the backup was incomplete, continuing with installation..."
fi fi
@@ -418,7 +418,7 @@ skipInstall() {
# existing installation, but discard stale media when no disk exists yet. # existing installation, but discard stale media when no disk exists yet.
if [[ "${STORAGE,,}/${previousBase,,}" != "${iso,,}" ]]; then if [[ "${STORAGE,,}/${previousBase,,}" != "${iso,,}" ]]; then
if ! hasData; then if ! hasDisk; then
if ! rm -f -- "$STORAGE/$previousBase"; then if ! rm -f -- "$STORAGE/$previousBase"; then
error "Failed to remove ISO file \"$STORAGE/$previousBase\" !" error "Failed to remove ISO file \"$STORAGE/$previousBase\" !"
@@ -538,7 +538,7 @@ findFile() {
fi fi
if [ -d "$dir" ]; then if [ -d "$dir" ]; then
if ! hasDisk || [ ! -f "$boot" ]; then if ! hasData || [ ! -f "$boot" ]; then
error "The bind $dir maps to a file that does not exist!" && return 1 error "The bind $dir maps to a file that does not exist!" && return 1
fi fi
fi fi
+3 -4
View File
@@ -483,7 +483,7 @@ gracefulShutdown() {
code=$(signalCode "$sig") code=$(signalCode "$sig")
if (( SHUTDOWN_SIGNAL != 0 )); then if [ -f "$QEMU_END" ]; then
# A second Ctrl-C during an active shutdown skips the remaining grace period # A second Ctrl-C during an active shutdown skips the remaining grace period
# and lets the shutdown loop force QEMU down immediately. # and lets the shutdown loop force QEMU down immediately.
@@ -497,13 +497,12 @@ gracefulShutdown() {
return return
fi fi
SHUTDOWN_SIGNAL=$code
# Signal handlers must complete their own error handling and cleanup without # Signal handlers must complete their own error handling and cleanup without
# errexit terminating the shell partway through the shutdown sequence. # errexit terminating the shell partway through the shutdown sequence.
set +e set +e
touch "$QEMU_END" SHUTDOWN_SIGNAL=$code
touch "$QEMU_END"
echo && info "Received $sig signal, sending ACPI shutdown signal..." echo && info "Received $sig signal, sending ACPI shutdown signal..."
# Interactive startup may receive a signal before the PID file appears, so # Interactive startup may receive a signal before the PID file appears, so
+1
View File
@@ -0,0 +1 @@
abc