Skip to content

Commit

Permalink
[common] Rename get_distro to get_os_information
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Nov 17, 2023
1 parent 3c3f681 commit c2b005d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ trap on_error ERR
delete_log
detect_user
detect_existing_instance
get_distro
get_os_information
detect_cpu_instructions
is_raspeberrypi_soc
detect_sound
Expand Down
2 changes: 1 addition & 1 deletion utils/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function is_raspeberrypi_soc() {
# Retrieve operating system information based on standard /etc/os-release
# and Python command. This is used to provide information to the user
# about the platform where the installer is running on.
function get_distro() {
function get_os_information() {
echo -ne "➤ Retrieving OS information... "
if [ -f /etc/os-release ]; then
KERNEL="$(uname -r)"
Expand Down

0 comments on commit c2b005d

Please sign in to comment.