On upgrade, tansfer also a custom landing page
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user