DOKK / manpages / debian 11 / wordpress / wp-setup.1.en
WP-SETUP(1) wp-setup WP-SETUP(1)

wp-setup - wordpress setup for Debian

wp-setup action

This script's purpose is to make it easier to manage Wordpress installations on Debian systems. For now, it's mainly for the package's internal usage though.

Update /var/lib/wordpress/wp-content/{plugins,themes}/ based on what's available in /usr/share/wordpress/wp-content/{plugins,themes}. This command is run by the package's postinst script every time that dpkg installs a package that modifies something in /usr/share/wordpress/wp-content/.
Remove all symlinks from /var/lib/wordpress/wp-content/{plugins,themes}/ that point to corresponding directories in /usr/share/wordpress/wp-content/{plugins,themes}. This command is run by the package's prerm script to ensure everything is properly removed.

Raphaël Hertzog <hertzog@debian.org>

2022-11-16 perl v5.32.1