Copy also custom background images to new version

This commit is contained in:
2021-01-19 16:38:42 +01:00
parent 22e10edbad
commit a1c76d1f7a

View File

@@ -145,9 +145,12 @@ step_22() {
# Configuration # Configuration
echo " [I] Copying configuration" echo " [I] Copying configuration"
exe cp -ar "$tempBu/config.json" "$ELEMENT_WEB_LOC/" exe cp -ar "$tempBu/config.json" "$ELEMENT_WEB_LOC/"
echo " [I] Copying login background"
exe cp -ar "$tempBu/$tempBackImg/"* "$ELEMENT_WEB_LOC/$tempBackImg/"
exe rm -rf "$tempBu" exe rm -rf "$tempBu"
} }
tempBackImg="themes/element/img/backgrounds"
tempDown="/tmp/${toolName}" tempDown="/tmp/${toolName}"
tempLoc="$tempDown/${toolName}.tar.gz" tempLoc="$tempDown/${toolName}.tar.gz"