packages: dependencies: fix distribution detection for Trisquel 10.
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
87c1e4c195
commit
1b18d46adf
|
@ -46,14 +46,23 @@ elif [ $# -ne 0 ] ; then
|
|||
exit ${EX_USAGE}
|
||||
fi
|
||||
|
||||
# Try to detect distributions derived from other distributions first
|
||||
# as for instance Trisquel 10 has ID_LIKE=debian and not
|
||||
# ID_LIKE=ubuntu.
|
||||
if is_base_distro "trisquel" ; then
|
||||
"$(dirname $0)"/../../dependencies/trisquel-10 $@
|
||||
exit $?
|
||||
elif is_base_distro "pureos" ; then # PureOS doesn't have ID_LIKE
|
||||
"$(dirname $0)"/../../dependencies/pureos-10 $@
|
||||
exit $?
|
||||
fi
|
||||
|
||||
if is_base_distro "arch" ; then
|
||||
"$(dirname $0)"/../../dependencies/arch $@
|
||||
elif is_base_distro "debian" ; then
|
||||
"$(dirname $0)"/../../dependencies/pureos-10 $@
|
||||
elif is_base_distro "fedora" ; then
|
||||
"$(dirname $0)"/../../dependencies/fedora35 $@
|
||||
elif is_base_distro "pureos" ; then # PureOS doesn't have ID_LIKE
|
||||
"$(dirname $0)"/../../dependencies/pureos-10 $@
|
||||
elif is_base_distro "ubuntu" ; then
|
||||
"$(dirname $0)"/../../dependencies/trisquel-10 $@
|
||||
elif is_base_distro "void" ; then
|
||||
|
|
Loading…
Reference in New Issue