cd_get_string
This commit is contained in:
parent
f808f4bfe7
commit
add6886d09
1 changed files with 4 additions and 0 deletions
4
cd.sh
4
cd.sh
|
@ -324,6 +324,10 @@ local variable="${1}"
|
||||||
exit 2
|
exit 2
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cd_get_string () {
|
||||||
|
[ "${1}" ] && echo "${1}" | cut -d "=" -f 2 | cut -d "\"" -f 2
|
||||||
|
}
|
||||||
|
|
||||||
cd_install_package () {
|
cd_install_package () {
|
||||||
if [ "${1}" ] ; then
|
if [ "${1}" ] ; then
|
||||||
case "${CD_OS_NAME}" in
|
case "${CD_OS_NAME}" in
|
||||||
|
|
Loading…
Reference in a new issue