Skip to content

Commit 5b5a359

Browse files
authored
Merge pull request #12 from viktorhaid/master
remove hard reference to app dir
2 parents f93457f + 8f508cc commit 5b5a359

File tree

7 files changed

+0
-14
lines changed

7 files changed

+0
-14
lines changed

activate-wp-plugins.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ then
1414
WP_ACTIVATE_ARGS="$WP_ACTIVATE_ARGS --network"
1515
fi
1616

17-
cd /app
18-
1917
for plugin in $WP_PLUGINS
2018
do
2119
echo "activating wp plugin $plugin..."

deactivate-wp-plugins.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ then
66
exit 1
77
fi
88

9-
cd /app
10-
119
WP_PLUGINS_ACTIVE=$(timeout 10s wp plugin list | grep -v inactive | grep -v must-use | grep active | cut -f 1)
1210

1311
for active_plugin in $WP_PLUGINS_ACTIVE

install-wp-core.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/bin/bash
22
set -e
33

4-
cd /app
5-
64
if [ "$WORDPRESS_USERNAME" = "" ]
75
then
86
echo "please define WORDPRESS_USERNAME"

run-cron.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/bin/bash
22
set -e
33

4-
cd /app
5-
64
/scripts/sleep.sh
75

86
/scripts/wait-for-mysql-user.sh

update-wp-admin-user.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/bin/bash
22
set -e
33

4-
cd /app
5-
64
if [ "$WORDPRESS_USERNAME" = "" ]
75
then
86
echo "please define WORDPRESS_USERNAME"

update-wp-core-database.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/bash
22
set -e
33

4-
cd /app
5-
64
echo "updating wp core database if necessary..."
75
wp core update-db --allow-root

verify-wp-core-checksums.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/bash
22
set -e
33

4-
cd /app
5-
64
echo "verifying wp core checksums..."
75
wp core verify-checksums --allow-root

0 commit comments

Comments
 (0)