Skip to content

Commit

Permalink
added dpkg --print-architecture to G_BUG_REPORT. modified ouput for G…
Browse files Browse the repository at this point in the history
…_EXEC
  • Loading branch information
JappeHallunken committed Jan 21, 2024
1 parent a135c79 commit 2d00e0f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions dietpi/func/dietpi-globals
Original file line number Diff line number Diff line change
Expand Up @@ -806,14 +806,13 @@ $grey─────────────────────────

G_BUG_REPORT() {
local dietpi_version="v$G_DIETPI_VERSION_CORE.$G_DIETPI_VERSION_SUB.$G_DIETPI_VERSION_RC ($G_GITOWNER/$G_GITBRANCH)"
echo -e "\e[41m
#### Details:
- Date | $(date)
echo -e "\e[41m#### Details:
- DietPi version | $dietpi_version
- Distro version | $G_DISTRO_NAME (ID=$G_DISTRO${G_RASPBIAN:+,RASPBIAN=$G_RASPBIAN})
- Hardware | $G_HW_MODEL_NAME (ID=$G_HW_MODEL)
- Kernel version | \`$(uname -a)\`
- Distro | $G_DISTRO_NAME (ID=$G_DISTRO${G_RASPBIAN:+,RASPBIAN=$G_RASPBIAN})\e[0m"
}
- Kernel version | $(uname -a)
- Architecture | $(dpkg --print-architecture)\e[0m"
}

#-----------------------------------------------------------------------------------
# Error handled command execution wrapper
Expand Down Expand Up @@ -901,7 +900,8 @@ $grey─────────────────────────
- DietPi has encountered an error -
- Please create a ticket: https://github.com/MichaIng/DietPi/issues -
- Copy and paste only the BLUE lines below into the ticket -
---------------------------------------------------------------------\e[44m"
---------------------------------------------------------------------\e[44m
- Date | $(date)"
G_BUG_REPORT
echo -e "\e[41m- Image creator | $image_creator
- Pre-image | $preimage_name
Expand Down

0 comments on commit 2d00e0f

Please sign in to comment.