The modify_packages Script

Valid for versions 100 through the latest version



Last modified: September 15, 2021


You can use the /usr/local/cpanel/scripts/modify_packages script to set existing packages to use a new cPanel theme.


To set a new theme for current cPanel accounts, use the /usr/local/cpanel/scripts/modify_accounts script.

Run the script

To use this script, run the following command as the root user:

/usr/local/cpanel/scripts/modify_packages --theme=theme_name [options]

In this example, theme_name represents the name of the theme that you wish to set for the package.


The /usr/local/cpanel/scripts/modify_package script accepts the following options:

Option Description Example
--theme Required
The theme name that you wish to assign to the package. Specify the jupiter theme or the name of another valid theme that exists on the server.
/usr/local/cpanel/scripts/modify_packages –theme=jupiter
--packages A comma-separated list of packages that you wish to modify.
/usr/local/cpanel/scripts/modify_packages –theme=jupiter –packages=my_pkg,another_pkg
--all-packages Update all of the packages that exist on the server.
/usr/local/cpanel/scripts/modify_packages –theme=jupiter –all-packages

Additional Documentation