Version fixer
This script will replace the 'version'-placeholder by its real version.
-
Name:
-
fix_version
-
-
Requirements:
- All needed files have to be located in the same directory as the script
- version
-
Functionality:
- Read the file version and remember the found string
- Parse the input file and replace all 'version'-strings by the real version
- Clean up by removing the script
-
Use:
-
fix_version ${filename}
-
Package Generator
This script will generate a package from the given files.
-
Name:
-
package_generator
-
-
Requirements:
- All needed files have to be located in the same directory as the script
- A .dpi file
-
Functionality:
- Split the .dpi-file into its sections
- Process [SETUP] section, [INSTALL] section and the [CODE] section
- Create Debian package directory structure, and copy all needed files in there
- Create a package with the use of standard debian packaging tools (installed on every debianized system)
- Copy the package to ${EM}/release
- Clean up by removing the script
-
Use:
-
package_generator -f ${dpi-file}
-