The modify_packages Script

Valid for versions 82 through the latest version

Version:

82


Last modified: May 13, 2020

Overview

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

Note:

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]
Note:

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

Options

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 paper_lantern theme or the name of another valid theme that exists on the server.
/usr/local/cpanel/scripts/modify_packages --theme=paper_lantern
--packages A comma-separated list of packages that you wish to modify.
/usr/local/cpanel/scripts/modify_packages --theme=paper_lantern --packages=my_pkg,another_pkg
--all-packages Update all of the packages that exist on the server.
/usr/local/cpanel/scripts/modify_packages --theme=paper_lantern --all-packages

Additional Documentation