diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2019-09-24 16:43:28 +0300 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2019-09-24 16:43:28 +0300 |
| commit | aadab4e15fd43dd0fc308a63916593bb378ff519 (patch) | |
| tree | 0be58175a245b5659681e560ad29f938c27c8b72 | |
| parent | 15777b190aa6a9f731a220d56d793e124bab25cd (diff) | |
| download | pfetch-aadab4e15fd43dd0fc308a63916593bb378ff519.tar.gz | |
docs: update
| -rwxr-xr-x | pfetch | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -124,6 +124,12 @@ get_distro() { # shellcheck source=/dev/null . /etc/os-release && distro=$PRETTY_NAME ;; + + *) + # Catch all to ensure '$distro' is never blank. + # This should also handle the BSDs, macOS etc. + distro=$os + ;; esac } |
