diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cpt-lib.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cpt-lib.in b/src/cpt-lib.in index 2af31fb..daecf30 100644 --- a/src/cpt-lib.in +++ b/src/cpt-lib.in @@ -1917,6 +1917,17 @@ create_cache() { colory="\033[1;33m" colorb="\033[1;36m" colre="\033[m" fi + # Set default package directories so that they can be parsed from package + # helpers + # TODO Document + : "${CPT_PKG_PREFIX:=/usr}" \ + "${CPT_PKG_ETCDIR:=/etc}" \ + "${CPT_PKG_BINDIR:=$CPT_PKG_PREFIX/bin}" \ + "${CPT_PKG_SBINDIR:=$CPT_PKG_PREFIX/bin}" \ + "${CPT_PKG_MANDIR:=/usr/share/man}" \ + "${CPT_PKG_INFODIR:=/usr/share/info}" \ + "${CPT_PKG_LOCALSTATEDIR:=/var}" + } # If the library is being called with its own name, run arguments. |