mirror of
https://github.com/RasppleII/a2cloud.git
synced 2024-12-21 22:29:24 +00:00
system_ident should use Debian codename on Pi
This commit is contained in:
parent
4cdb544d53
commit
55cb4757b3
@ -12,7 +12,7 @@ if [[ -z $ras2_os || -z $ras2_arch ]]; then
|
|||||||
ras2_os="unknown"
|
ras2_os="unknown"
|
||||||
if hash lsb_release 2>/dev/null; then
|
if hash lsb_release 2>/dev/null; then
|
||||||
if [[ -f /usr/bin/raspi-config ]]; then
|
if [[ -f /usr/bin/raspi-config ]]; then
|
||||||
ras2_os="rpi-$(lsb_release -rs)"
|
ras2_os="rpi-$(lsb_release -cs)"
|
||||||
else
|
else
|
||||||
case "$(lsb_release -is)" in
|
case "$(lsb_release -is)" in
|
||||||
Debian)
|
Debian)
|
||||||
|
Loading…
Reference in New Issue
Block a user