In latest releases, I can't find "bootanimation.zip" in /media/ subfolder
of the ZIP rom' archive... I have found another location with this zip,
but now I find 2 different bootanimation.zip in 2 different subfolder...
Changing it, what's of the 2 zips I've to replace ?!
font and bootanimation in the ROM are missing from the folders (/media and /fonts)
i have done this to save some room otherwise the ROM would be bigger (longer upload time and download time)
also this way we can backup the bootanimation and font the user have set when you flash a new ROM so you don't have to do that evry time
if [ -f /system/media/bootanimation.zip ]; then
echo "Not copying bootanimation it already exists caused by backup"
else
cp /system/theme/bootanimation/stock/bootanimation.zip /system/media/bootanimation.zip && echo "copied bootanimation"
fi
if [ -f /system/fonts/Roboto-Bold.ttf ]; then
echo "Not copying fonts it already exists caused by backup"
else
cp /system/theme/fonts/stock/DroidSerif-Bold.ttf /system/fonts/DroidSerif-Bold.ttf
cp /system/theme/fonts/stock/DroidSerif-BoldItalic.ttf /system/fonts/DroidSerif-BoldItalic.ttf
cp /system/theme/fonts/stock/DroidSerif-Italic.ttf /system/fonts/DroidSerif-Italic.ttf
cp /system/theme/fonts/stock/DroidSerif-Regular.ttf /system/fonts/DroidSerif-Regular.ttf
cp /system/theme/fonts/stock/Roboto-Bold.ttf /system/fonts/Roboto-Bold.ttf
cp /system/theme/fonts/stock/Roboto-BoldItalic.ttf /system/fonts/Roboto-BoldItalic.ttf
cp /system/theme/fonts/stock/Roboto-Italic.ttf /system/fonts/Roboto-Italic.ttf
cp /system/theme/fonts/stock/Roboto-Regular.ttf /system/fonts/Roboto-Regular.ttf
fi