On upgrade, tansfer also a custom landing page

This commit is contained in:
2021-12-31 17:41:48 +01:00
parent 1f946cd9a2
commit f0e9bbe4e0

View File

@@ -145,6 +145,10 @@ step_22() {
if [ -f "$tempBu/config/addon.config.php" ]; then if [ -f "$tempBu/config/addon.config.php" ]; then
exe cp -ar "$tempBu/config/addon.config.php" "$FR_LOC/config/" exe cp -ar "$tempBu/config/addon.config.php" "$FR_LOC/config/"
fi fi
# Custom landing page
if [ -f "$tempBu/home.html" ]; then
exe cp -ar "$tempBu/home".* "$FR_LOC/"
fi
echo " [I] Don't forget to \"clean\" if everything is working as expected" echo " [I] Don't forget to \"clean\" if everything is working as expected"
} }