WP-SETUP(1)

✨ WP-SETUP(1) ✨

okay bestie, so this is wp-setup from section 1 of the manual (that's the general commands section, iykyk) πŸ’… and honestly? she's a little helper script and she's serving.


🌸 NAME 🌸

wp-setup β€” wordpress setup for Debian πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

wp-setup action

one action, that's it, that's the whole vibe 🫢


πŸ’– DESCRIPTION πŸ’–

okay so the whole purpose of this script β€” the moment, the assignment, the reason she exists β€” is to make managing Wordpress installations on Debian systems easier. like, genuinely easier. that's the goal 🎯

but ngl, right now it's mainly for the package's internal usage. so she's not out here doing the most for the general public just yet β€” she's lowkey a backstage girlie working behind the scenes πŸ’…


πŸ‘‘ ACTIONS πŸ‘‘

  • --sync-wp-content β€” updates /var/lib/wordpress/wp-content/{plugins,themes}/ based on whatever's available in /usr/share/wordpress/wp-content/{plugins,themes}. so like, she's matching up the live dirs with the source dirs, no cap ✨

and the way that she gets run?? this command is run by the package's postinst script every single time that dpkg installs a package that modifies something in /usr/share/wordpress/wp-content/. so every. single. time. she's there. she's reliable. she ate πŸ”₯

  • --purge-wp-content β€” removes all the symlinks from /var/lib/wordpress/wp-content/{plugins,themes}/ that point to the corresponding directories in /usr/share/wordpress/wp-content/{plugins,themes}. bye bye symlinks, it's giving cleanup πŸ§ΉπŸ’€

this command is run by the package's prerm script, and the whole reason is to make sure everything is properly removed. no leftovers, no crumbs, nothing πŸ™ˆ


🌈 AUTHOR 🌈

RaphaΓ«l Hertzog <hertzog@debian.org> β€” icon, legend, author of this whole thing πŸ‘‘


real talk bestie: this page is documented as perl v5.40.1, dated 2026-10-29, and it's the wp-setup manual from the wp-setup source. stan a consistently generated manpage fr fr πŸ«ΆπŸ’œ

okay that's the whole page, ilysm, go manage your wordpress installs responsibly βœ¨πŸŒΈπŸ’–

πŸ“¦ where this page comes from