Small changes
This commit is contained in:
parent
82a7efd5d9
commit
2347c0d7f1
1 changed files with 6 additions and 2 deletions
|
@ -49,7 +49,11 @@ function aquarius() {
|
||||||
if [ -d $public_html ]; then
|
if [ -d $public_html ]; then
|
||||||
theme=$public_html/wp-content/themes
|
theme=$public_html/wp-content/themes
|
||||||
if [ -d $theme ]; then
|
if [ -d $theme ]; then
|
||||||
|
if [ -d "$theme/aquarius" ]; then
|
||||||
cdlc $theme/aquarius
|
cdlc $theme/aquarius
|
||||||
|
else
|
||||||
|
cdlc $theme/theme_aquarius
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo " Can't find theme folder "
|
echo " Can't find theme folder "
|
||||||
fi
|
fi
|
||||||
|
@ -64,7 +68,7 @@ function theme() {
|
||||||
if [ -d $public_html ]; then
|
if [ -d $public_html ]; then
|
||||||
theme=$public_html/wp-content/themes
|
theme=$public_html/wp-content/themes
|
||||||
if [ -d $theme ]; then
|
if [ -d $theme ]; then
|
||||||
child=$(ls -d $theme/*/ | grep -v "$theme\/aquarius" | grep -v "$theme\/twenty*" | grep -v "$theme\/barelycorporate" -m 1)
|
child=$(ls -d $theme/*/ | grep -v "$theme\/theme-aquarius" | grep -v "$theme\/aquarius" | grep -v "$theme\/twenty*" | grep -v "$theme\/barelycorporate" -m 1)
|
||||||
cdlc $child
|
cdlc $child
|
||||||
else
|
else
|
||||||
echo " Can't find theme folder "
|
echo " Can't find theme folder "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue