![Symantec WISE LINUX PACKAGE EDITOR 8.0 Скачать руководство пользователя страница 43](http://html.mh-extra.com/html/symantec/wise-linux-package-editor-8-0/wise-linux-package-editor-8-0_reference_1418947043.webp)
Linux Package Editor Reference
43
Using Script Editor
Actions
The Actions list displays the actions that you can add to your script. To view a different
category of actions, select the category from the Actions drop-down list. The actions
that appear in the Actions list are filtered according to the current install event.
Installation Script Area
The installation script area displays the installation scripts that are run by Linux Package
Editor.
From the Install Event drop-down list, you can select one of the following installation
scripts to display and edit.
The Install Event drop-down list also includes any trigger scripts that you add to the
package.
See
Adding Triggers
on page 37.
Script Tabs
A tab for the current installation script appears at the bottom of the installation script
area. When you add a Call Script action to the current installation script, a tab for the
call script appears next to the tab for the current installation script.
Script Line Numbering
z
To show or hide script line numbers, select View menu > Line Numbers.
z
Connection lines connect the beginning and end of an If block or a loop. To show or
hide connection lines, select View menu > Connection Lines.
Viewing Script Code
Most of the script actions in Script Editor run Linux commands. To view the Linux
commands that underly the current Linux Package Editor script, save the script as a
shell file.
To view script code
1. In Linux Package Editor, select Script Editor.
2. Select File menu > Save Script as Shell.
The Save as script file dialog box appears.
Pre-RPM
Runs as soon as the shell runs
Pre-Install
Runs before the package is installed
Post-Install
Runs after the package is installed
Pre-Uninstall
Runs before the package is uninstalled
Post-Uninstall
Runs after the package is uninstalled
Verification
Runs when a verification (rpm -V) is run on the package
Preflight
Runs when you install a preflight package