|
@ -17,7 +17,7 @@ libxml_catalog() { |
|
|
local catalog=/etc/xml/catalog |
|
|
local catalog=/etc/xml/catalog |
|
|
if [ ! -s $root$catalog ]; then |
|
|
if [ ! -s $root$catalog ]; then |
|
|
echo_status "Creating empty $catalog" |
|
|
echo_status "Creating empty $catalog" |
|
|
mkdir -p $root${catalog#/*} |
|
|
|
|
|
|
|
|
mkdir -p $root${catalog%/*} |
|
|
xmlcatalog --noout --create $root$catalog |
|
|
xmlcatalog --noout --create $root$catalog |
|
|
fi |
|
|
fi |
|
|
} |
|
|
} |