git remote rename origin upstream
git checkout -b master
-echo >> .gitignore
-echo "# Ignore the configuration for the bootstrap script" >> .gitignore
-echo "bootstrap.conf" >> .gitignore
-# Add some patches, use sed until composer can do that from the command line
-# (e.g. composer config ...)
-sed -i -e 's@"extra": {@"extra": {\
- "patches-file": "composer.patches.json",@' composer.json
+# Add some patches
+composer config extra.patches-file "composer.patches.json"
cat > composer.patches.json <<EOF
{
#MYSQL_ROOT_PASSWORD="password"
EOF
+cat > .gitignore <<EOF
+# Ignore the configuration for the bootstrap script
+bootstrap.conf
+EOF
+
echo
echo "Uncomment and customize the values in the bootstrap.conf file."