mirror of
https://github.com/xcat2/confluent.git
synced 2025-09-05 01:38:15 +00:00
28 lines
536 B
Bash
28 lines
536 B
Bash
#!/usr/bin/bash
|
|
|
|
# called by dracut
|
|
check() {
|
|
return 0
|
|
}
|
|
install() {
|
|
. $moddir/install-base
|
|
if [ -x /usr/bin/sway ]; then
|
|
. $moddir/install-gui
|
|
fi
|
|
|
|
. $moddir/install-locale
|
|
if [ -d /usr/lib64/python3.13/ ]; then
|
|
. $moddir/install-python313
|
|
elif [ -d /usr/lib/python3.12/ ]; then
|
|
. $moddir/install-python312
|
|
elif [ -d /usr/lib64/python3.9/ ]; then
|
|
. $moddir/install-python39
|
|
|
|
fi
|
|
}
|
|
|
|
installkernel() {
|
|
. $moddir/installkernel
|
|
}
|
|
|