Child pages
  • The modify_packages Script
For cPanel & WHM version 74

Skip to end of metadata
Go to start of metadata


You can use the /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 /scripts/modify_accounts script.

The /scripts/modify_packages script

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

/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 /scripts/modify_package script accepts the following arguments:



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.

/scripts/modify_packages --theme=paper_lantern
--packages A comma-separated list of packages that you wish to modify.
/scripts/modify_packages --theme=paper_lantern --packages=my_pkg,another_pkg
--all-packagesUpdate all of the packages that exist on the server.
/scripts/modify_packages --theme=paper_lantern --all-packages

Additional documentation