Add Armbian Linux (#1417)

* Add Armbian Linux

* Update neofetch

* Update neofetch
This commit is contained in:
Igor Pečovnik 2020-10-04 14:06:25 +02:00 committed by GitHub
parent 6b26a4d688
commit d76815d3a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -976,6 +976,10 @@ get_distro() {
*) distro="Red Star OS $(awk -F'[^0-9*]' '$0=$2' /etc/redstar-release)" *) distro="Red Star OS $(awk -F'[^0-9*]' '$0=$2' /etc/redstar-release)"
esac esac
elif [[ -f /etc/armbian-release ]]; then
. /etc/armbian-release
distro="Armbian $DISTRIBUTION_CODENAME ($VERSION)"
elif [[ -f /etc/siduction-version ]]; then elif [[ -f /etc/siduction-version ]]; then
case $distro_shorthand in case $distro_shorthand in
on|tiny) distro=Siduction ;; on|tiny) distro=Siduction ;;