packages: dependencies: fix is_base_distro argument
This was broken from the start in the commit
fe28bc3c82
("dependencies: move into
single package.").
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
This commit is contained in:
parent
a3b5f5dc7b
commit
e1b48e7436
|
@ -31,6 +31,7 @@ usage()
|
|||
|
||||
is_base_distro()
|
||||
{
|
||||
distro="$1"
|
||||
grep "ID=${distro}" /etc/os-release > /dev/null && return ${true}
|
||||
grep "ID_LIKE=${distro}" /etc/os-release > /dev/null && return ${true}
|
||||
return ${false}
|
||||
|
|
Loading…
Reference in New Issue