Linux Package Editor Reference
62
Script Actions
To complete the dialog box
z
Pathname
Specify the full path to the text file to be read or written on the Linux computer
(example: $INSTALLDIR\File.txt).
z
Variable
Specify the variable to write to or read from (example: TEXTLINE).
z
Action
Select an action:
Read lines of file into variable
Reads the contents of the text file into the variable.
Write variable into text file
Writes the contents of the variable to a text file.
z
Make Backup File
Mark this to make a copy of the text file before editing it. A number is appended to
the end of the file name for the backup copies (example: text.001, text.002, and so
on).
Remark
This action adds comments or blank lines to the script. Remarks are green and prefaced
by /*Rem.
To complete the dialog box
z
Enter Remark
Enter the comment. To add a blank line, leave this field blank.
Rename File/Directory
This action renames or moves a file or directory on the Linux computer. This can be an
existing file or directory, or a file or directory that your installation installed. The file
must not be busy.
When the action is run, the results are placed in the $RETURNCODE variable:
To complete the dialog box
z
Old Pathname
Specify the full path to the existing file or directory (examples:
$INSTALLDIR\PICTURES\picture.jpg or $INSTALLDIR\PICTURES\).
z
New Pathname
Enter the full path to the new file or directory.
0
The action ran successfully.
non-zero
The action was unsuccessful.