feat(core): Use .gitkeep instead of README.md files.
This commit is contained in:
parent
30c6b6cd4e
commit
4b836c33f7
8 changed files with 0 additions and 20 deletions
14
blueprint.sh
14
blueprint.sh
|
@ -242,7 +242,6 @@ if [[ $1 != "-bash" ]]; then
|
|||
log_bright "[INFO] Rolling admin cache refresh class name."
|
||||
updateCacheReminder
|
||||
|
||||
|
||||
# Run migrations if Blueprint is not upgrading.
|
||||
if [[ $1 != "--post-upgrade" ]]; then
|
||||
log_blue "[INPUT] Do you want to migrate your database? (Y/n)"
|
||||
|
@ -255,24 +254,11 @@ if [[ $1 != "-bash" ]]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
|
||||
# Make sure all files have correct permissions.
|
||||
log_bright "[INFO] Changing file ownership to www-data.."
|
||||
chown -R www-data:www-data $FOLDER/*
|
||||
chown -R www-data:www-data $FOLDER/.blueprint/*
|
||||
|
||||
log_bright "[INFO] Removing placeholder files.."
|
||||
# Remove placeholder README.md files.
|
||||
if [[ -f "$FOLDER/.blueprint/dev/README.md" ]]; then
|
||||
rm -R $FOLDER/.blueprint/dev/*
|
||||
fi
|
||||
if [[ -f "$FOLDER/.blueprint/data/extensions/README.md" ]]; then
|
||||
rm -R $FOLDER/.blueprint/data/extensions/*
|
||||
fi
|
||||
if [[ -f "$FOLDER/tools/tmp/README.md" ]]; then
|
||||
rm $FOLDER/tools/tmp/README.md
|
||||
fi
|
||||
|
||||
# Rebuild panel assets.
|
||||
log_bright "[INFO] Rebuilding panel assets.."
|
||||
yarn run build:production
|
||||
|
|
0
blueprint/data/extensions/.gitkeep
Normal file
0
blueprint/data/extensions/.gitkeep
Normal file
|
@ -1 +0,0 @@
|
|||
*This folder will be cleared automatically upon installation.*
|
0
blueprint/data/internal/build/templates/.gitkeep
Normal file
0
blueprint/data/internal/build/templates/.gitkeep
Normal file
0
blueprint/dev/.gitkeep
Normal file
0
blueprint/dev/.gitkeep
Normal file
|
@ -1 +0,0 @@
|
|||
*This folder will be cleared automatically upon installation.*
|
0
tools/tmp/.gitkeep
Normal file
0
tools/tmp/.gitkeep
Normal file
|
@ -1,4 +0,0 @@
|
|||
*This README.md file is automatically removed upon installation.*
|
||||
|
||||
This directory is used for storing files when upgrading your panel.\
|
||||
The default tmp folder, ".blueprint/tmp" should not be used for tools.
|
Loading…
Reference in a new issue