Skip to content

Commit

Permalink
Adds WP content folder handler
Browse files Browse the repository at this point in the history
  • Loading branch information
nickkadutskyi committed Apr 9, 2023
1 parent e373860 commit 70850ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/wp-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ done
if [ -f "$WP_DIR/wp-content/plugins/hello.php" ]; then
mv "$WP_DIR/wp-content/plugins/hello.php" "$CONTENT_DIR/plugins/${WP_DEFAULT_PREFIX}hello.php"
fi
ln -sf ../src/WordPressContent public-wp/content
echo "Installed $CURRENT_VERSION"
echo "$INSTALL_RESULT"

1 change: 1 addition & 0 deletions scripts/wp-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ for d in public-wp/wp-content/plugins/*/ ; do
mv "$d" "$PLUGIN_DEST"
done
mv "$WP_DIR/wp-content/plugins/hello.php" "$CONTENT_DIR/plugins/${WP_DEFAULT_PREFIX}hello.php"
ln -sf ../src/WordPressContent public-wp/content
echo "$CURRENT_VERSION to $NEW_VERSION"
echo "$UPDATE_RESULT"
echo "$UPDATE_DB_RESULT"
Expand Down

0 comments on commit 70850ae

Please sign in to comment.