
It is also possible to start a backend shell.
root@livecd# /usr/share/acritoxinstaller/backend.sh acritox' installer>
You can use all the acritoxinstaller functions in this "shell". These functions are explained in detail in this chapter.
If you want to develop a frontend for the AcritoxInstaller backend then call backend.sh with the argument "-ni", which enables the NonInteractive mode. This makes the output more machine readable.
root@livecd# /usr/share/acritoxinstaller/backend.sh -ni <acritoxinstaller backend prompt>
You could also write a bash-script and source only the AcritoxInstaller modules. Therefore you can use a code like the following:
# load installer backend modules
SEARCHPATH="/usr/share/acritoxinstaller"
if [ ! -e "$SEARCHPATH" ]; then
echo "ERROR: acritoxinstaller modules could not be found... ($SEARCHPATH)"
exit 4
fi
for i in $(find $SEARCHPATH/modules/ -type f); do
source $i
done
Would you like to make a comment or contribute an update to this page?
Send feedback to the KDE Docs Team