Introduction
Autopackage's core is written in Bash. The Autopackage API is a set of bash functions that can be used by core programs or install scripts (specfiles).You should read this API reference before trying to do anything in your install script, because there are a lot of replacement functions that replace "standard" commands (such as Autopackage's copyFiles vs cp), and a lot of convenience functions.
Table of Contents:
- Public library
- User interaction - Reporting information to the user and handling of interaction during install.
- Replacements for standard commands - Functions that should be used instead of standard Unix commands.
- Miscellaneous functions
- Text file and manipulation - Easy-to-use functions to get info about or to manipulate text files.
- System checking and dependency handling - Functions for probing the system, useful in skeleton scripts and making sure the system is OK for the installation to proceed.
- Global variables - Useful pieces of information available to your scripts
- Filesystem - Miscellaneous filesystem-related functions.
- String utility functions - String manipulation, version matching, etc.
- Installation - Install/uninstall script functions.
- Build system integration - Support for Autoconf and other build systems.
Functions and Variables Index in Alphabetical Order