Make system/config repo.d paths always relative to rootdir.
This commit is contained in:
@@ -4,7 +4,7 @@ INCS = xbps.h
|
||||
|
||||
.PHONY: all
|
||||
all:
|
||||
sed -e "s|@@VERSION@@|${VERSION}|g;s|@@PREFIX@@|${PREFIX}|g" ${INCS}.in > ${INCS}
|
||||
sed -e "s|@@VERSION@@|${VERSION}|g" ${INCS}.in > ${INCS}
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
|
@@ -73,7 +73,7 @@
|
||||
# define XBPS_SYSCONF_PATH "/etc" XBPS_SYSDIR
|
||||
#endif
|
||||
#ifndef XBPS_SYSDEFCONF_PATH
|
||||
# define XBPS_SYSDEFCONF_PATH "@@PREFIX@@/share" XBPS_SYSDIR
|
||||
# define XBPS_SYSDEFCONF_PATH "usr/share" XBPS_SYSDIR
|
||||
#endif
|
||||
|
||||
/**
|
||||
@@ -88,12 +88,18 @@
|
||||
*/
|
||||
#define XBPS_CACHE_PATH "var/cache/xbps"
|
||||
|
||||
/**
|
||||
/**
|
||||
* @def XBPS_VPKG_PATH
|
||||
* Default virtualpkg PATH to store virtualpkg overrides.
|
||||
* Configuration virtualpkg directory to store virtualpkg configuration files.
|
||||
*/
|
||||
#define XBPS_VPKG_PATH XBPS_SYSCONF_PATH "/virtualpkg.d"
|
||||
|
||||
/**
|
||||
* @def XBPS_SYS_VPKG_PATH
|
||||
* System virtualpkg PATH to store virtualpkg configuration files.
|
||||
*/
|
||||
#define XBPS_SYS_VPKG_PATH XBPS_SYSDEFCONF_PATH "/virtualpkg.d"
|
||||
|
||||
/**
|
||||
* @def XBPS_REPOD_PATH
|
||||
* Configuration directory to store repository configuration files.
|
||||
|
Reference in New Issue
Block a user