33 |
addconfig '<StoreCache>' |
addconfig '<StoreCache>' |
34 |
if [[ -L ${STOREFRONT_DIR}/default-store ]] |
if [[ -L ${STOREFRONT_DIR}/default-store ]] |
35 |
then |
then |
36 |
store_uri=$(source ${STOREFRONT_DIR}/default-store; echo "${STORE}") |
store=$(source ${STOREFRONT_DIR}/default-store; echo "${STORE}") |
37 |
addconfig " <DefaultStore>${store}</DefaultStore>" |
addconfig " <DefaultStore>${store}</DefaultStore>" |
38 |
else |
else |
39 |
# use the first one which gets found |
# use the first one which gets found |
75 |
do |
do |
76 |
case $1 in |
case $1 in |
77 |
--add|--del|--default|--print|--regen) method="${1//--}" ;; |
--add|--del|--default|--print|--regen) method="${1//--}" ;; |
78 |
--store) shift; store_uri="$1" ;; |
--store) shift; store="$1" ;; |
79 |
esac |
esac |
80 |
shift |
shift |
81 |
done |
done |