Update
This commit is contained in:
parent
0a49fc53d2
commit
8b2458d188
|
@ -53,7 +53,7 @@ install() {
|
||||||
|
|
||||||
mkdir -p "${THEME_DIR}"
|
mkdir -p "${THEME_DIR}"
|
||||||
cp -r "${SRC_DIR}"/src/index.theme "${THEME_DIR}"
|
cp -r "${SRC_DIR}"/src/index.theme "${THEME_DIR}"
|
||||||
sed -i "s/Colloid/${2}${3}${4}${5}/g" "${THEME_DIR}"/index.theme
|
sed -i "s/Melawy/${2}${3}${4}${5}/g" "${THEME_DIR}"/index.theme
|
||||||
|
|
||||||
if [[ "${color}" == '-Light' ]]; then
|
if [[ "${color}" == '-Light' ]]; then
|
||||||
cp -r "${SRC_DIR}"/src/{actions,apps,categories,devices,emblems,mimetypes,places,status} "${THEME_DIR}"
|
cp -r "${SRC_DIR}"/src/{actions,apps,categories,devices,emblems,mimetypes,places,status} "${THEME_DIR}"
|
||||||
|
@ -510,7 +510,7 @@ install_theme() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
clean_old_theme
|
#clean_old_theme
|
||||||
|
|
||||||
if [[ "${remove}" == 'true' ]]; then
|
if [[ "${remove}" == 'true' ]]; then
|
||||||
remove_theme
|
remove_theme
|
||||||
|
|
|
@ -53,7 +53,7 @@ install() {
|
||||||
|
|
||||||
mkdir -p "${THEME_DIR}"
|
mkdir -p "${THEME_DIR}"
|
||||||
cp -r "${SRC_DIR}"/src/index.theme "${THEME_DIR}"
|
cp -r "${SRC_DIR}"/src/index.theme "${THEME_DIR}"
|
||||||
sed -i "s/Colloid/${2}${3}${4}${5}/g" "${THEME_DIR}"/index.theme
|
sed -i "s/Melawy/${2}${3}${4}${5}/g" "${THEME_DIR}"/index.theme
|
||||||
|
|
||||||
if [[ "${color}" == '-Light' ]]; then
|
if [[ "${color}" == '-Light' ]]; then
|
||||||
cp -r "${SRC_DIR}"/src/{actions,apps,categories,devices,emblems,mimetypes,places,status} "${THEME_DIR}"
|
cp -r "${SRC_DIR}"/src/{actions,apps,categories,devices,emblems,mimetypes,places,status} "${THEME_DIR}"
|
||||||
|
|
|
@ -53,7 +53,7 @@ install() {
|
||||||
|
|
||||||
mkdir -p "${THEME_DIR}"
|
mkdir -p "${THEME_DIR}"
|
||||||
cp -r "${SRC_DIR}"/src/index.theme "${THEME_DIR}"
|
cp -r "${SRC_DIR}"/src/index.theme "${THEME_DIR}"
|
||||||
sed -i "s/Colloid/${2}${3}${4}${5}/g" "${THEME_DIR}"/index.theme
|
sed -i "s/Melawy/${2}${3}${4}${5}/g" "${THEME_DIR}"/index.theme
|
||||||
|
|
||||||
if [[ "${color}" == '-Light' ]]; then
|
if [[ "${color}" == '-Light' ]]; then
|
||||||
cp -r "${SRC_DIR}"/src/{actions,apps,categories,devices,emblems,mimetypes,places,status} "${THEME_DIR}"
|
cp -r "${SRC_DIR}"/src/{actions,apps,categories,devices,emblems,mimetypes,places,status} "${THEME_DIR}"
|
||||||
|
|
Loading…
Reference in New Issue