1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-20 02:52:11 +00:00

Moving custom 'css' & 'images' files to assets_dir.

This commit is contained in:
just4d 2019-03-05 01:01:11 +01:00 committed by GitHub
parent d89c03ea6f
commit 1e759bf64b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,6 +85,12 @@ unzip -q /tmp/bootstrap.zip -d $assets_dir
mv $assets_dir/bootstrap-$bootstrap_version-dist $assets_dir/bootstrap
rm -f /tmp/bootstrap.zip
# Move 'custom-dark' 'css' & 'images' files to assets_dir
mv /root/custom-dark/css/*.css $assets_dir/bootstrap/css/
mkdir -p $assets_dir/images
mv /root/custom-dark/images/*.png $assets_dir/images/
rm -r /root/custom-dark
# Create an init script to start the management daemon and keep it
# running after a reboot.
cat > $inst_dir/start <<EOF;