cd_get_string

This commit is contained in:
Marc Beninca 2024-05-02 16:46:08 +02:00
parent f808f4bfe7
commit add6886d09
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

4
cd.sh
View file

@ -324,6 +324,10 @@ local variable="${1}"
exit 2
}
cd_get_string () {
[ "${1}" ] && echo "${1}" | cut -d "=" -f 2 | cut -d "\"" -f 2
}
cd_install_package () {
if [ "${1}" ] ; then
case "${CD_OS_NAME}" in