Skip to content

Commit 996b59c

Browse files
committed
add script to install themes
1 parent 5348d50 commit 996b59c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

scripts/install-themes.sh

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
3+
from=$1
4+
to=$2
5+
6+
[[ -z $from ]] || [[ ! -d $from ]] || [[ -z $to ]] || [[ ! -d $to ]] && exit;
7+
8+
echo $from $to
9+
10+
for theme in $(ls -d $from/*/phplist-ui-*); do
11+
[[ ! -z "$(ls -A $theme)" ]] && {
12+
echo installing $theme
13+
cp -R $theme $to
14+
}
15+
done

0 commit comments

Comments
 (0)