packages: dependencies: fix finding dependencies scripts.
The "$(dirname $0)"/../dependencies/ directory is the same as
"$(dirname $0)".
So when running the script we have:
# ./resources/packages/dependencies/install
./resources/packages/dependencies/install: 49:
./resources/packages/dependencies/../dependencies/arch: not found
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
a9c754e324
commit
a3b5f5dc7b
|
@ -46,15 +46,15 @@ elif [ $# -ne 0 ] ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if is_base_distro "arch" ; then
|
if is_base_distro "arch" ; then
|
||||||
"$(dirname $0)"/../dependencies/arch $@
|
"$(dirname $0)"/../../dependencies/arch $@
|
||||||
elif is_base_distro "debian" ; then
|
elif is_base_distro "debian" ; then
|
||||||
"$(dirname $0)"/../dependencies/debian $@
|
"$(dirname $0)"/../../dependencies/debian $@
|
||||||
elif is_base_distro "fedora" ; then
|
elif is_base_distro "fedora" ; then
|
||||||
"$(dirname $0)"/../dependencies/fedora35 $@
|
"$(dirname $0)"/../../dependencies/fedora35 $@
|
||||||
elif is_base_distro "pureos" ; then # PureOS doesn't have ID_LIKE
|
elif is_base_distro "pureos" ; then # PureOS doesn't have ID_LIKE
|
||||||
"$(dirname $0)"/../dependencies/debian $@
|
"$(dirname $0)"/../../dependencies/debian $@
|
||||||
elif is_base_distro "ubuntu" ; then
|
elif is_base_distro "ubuntu" ; then
|
||||||
"$(dirname $0)"/../dependencies/trisquel-10 $@
|
"$(dirname $0)"/../../dependencies/trisquel-10 $@
|
||||||
elif is_base_distro "void" ; then
|
elif is_base_distro "void" ; then
|
||||||
"$(dirname $0)"/../dependencies/void $@
|
"$(dirname $0)"/../../dependencies/void $@
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue