Attempt to fix the shellcheck error
This commit is contained in:
parent
957e280bed
commit
d2d1c0aab4
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
|
@ -1125,11 +1125,11 @@ get_distro() {
|
||||||
distro=${distro/NAME=}
|
distro=${distro/NAME=}
|
||||||
|
|
||||||
if [[ -f /usr/bin/system-image-cli ]]; then
|
if [[ -f /usr/bin/system-image-cli ]]; then
|
||||||
export ut_ota = $(system-image-cli -i | awk '/version tag:/ { print $3 }');
|
export ut_ota=$(system-image-cli -i | awk '/version tag:/ { print $3 }');
|
||||||
distro="Ubuntu Touch $ut_ota";
|
distro="Ubuntu Touch $ut_ota";
|
||||||
|
|
||||||
# There's a weird UT bug where the HOSTNAME is set to android.
|
# There's a weird UT bug where the HOSTNAME is set to android.
|
||||||
export HOSTNAME=$(hostname);
|
HOSTNAME=$(hostname);
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get Ubuntu flavor.
|
# Get Ubuntu flavor.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue