Skip to content

Commit

Permalink
Merge pull request #222 from Automattic/remove-vars
Browse files Browse the repository at this point in the history
fix(mariadb): remove unused variables
  • Loading branch information
sjinks authored Jun 1, 2024
2 parents 272a889 + 1002f27 commit e624d88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion features/src/mariadb/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "MariaDB",
"id": "mariadb",
"version": "1.1.2",
"version": "1.1.3",
"description": "Sets up MariaDB into the Dev Environment",
"options": {
"installDatabaseToWorkspaces": {
Expand Down
4 changes: 1 addition & 3 deletions features/src/mariadb/service-run.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ if [ -f /etc/conf.d/mariadb ]; then
. /etc/conf.d/mariadb
fi

: "${MARIADB_USER:=mysql}"
: "${MARIADB_DATADIR:=/var/lib/mysql}"

# shellcheck disable=SC2154
install -d -D -m 02755 -o "${MARIADB_USER}" -g "${MARIADB_USER}" "${MARIADB_DATADIR}"
chown -R "${MARIADB_USER}:${MARIADB_USER}" "${MARIADB_DATADIR}"

Expand Down

0 comments on commit e624d88

Please sign in to comment.