The modify_packages Script
Valid for versions 100 through the latest version
Version:
100
Last modified: September 15, 2021
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 jupiter theme or the name of another valid theme that exists on the server. |
|
--packages |
A comma-separated list of packages that you wish to modify. |
|
--all-packages |
Update all of the packages that exist on the server. |
|