mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-07-03 11:53:43 +02:00
scripts/build.sh: move deb specific variables to deb file
This commit is contained in:
parent
c5a8f20c04
commit
fab8c1a589
2 changed files with 3 additions and 3 deletions
|
|
@ -15,9 +15,6 @@ set +o allexport
|
||||||
# Directories.
|
# Directories.
|
||||||
export PACKAGE_BINDIR=${PACKAGE_PREFIX}/bin
|
export PACKAGE_BINDIR=${PACKAGE_PREFIX}/bin
|
||||||
export PACKAGE_ETCDIR=etc/${PACKAGE_NAME}
|
export PACKAGE_ETCDIR=etc/${PACKAGE_NAME}
|
||||||
export PACKAGE_SYSUNITDIR=etc/systemd/system
|
|
||||||
export PACKAGE_RSYSLOGDIR=etc/rsyslog.d
|
|
||||||
export PACKAGE_LOGROTATEDIR=etc/logrotate.d
|
|
||||||
export PACKAGE_LOGDIR=/var/log
|
export PACKAGE_LOGDIR=/var/log
|
||||||
export PACKAGE_LOGFILE=${PACKAGE_LOGDIR}/${PACKAGE_NAME}.log
|
export PACKAGE_LOGFILE=${PACKAGE_LOGDIR}/${PACKAGE_NAME}.log
|
||||||
export PACKAGE_SHAREDIR=${PACKAGE_PREFIX}/share/${PACKAGE_NAME}
|
export PACKAGE_SHAREDIR=${PACKAGE_PREFIX}/share/${PACKAGE_NAME}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
PACKAGE_TMPDIR="${PACKAGE_TMPDIR}/debian"
|
PACKAGE_TMPDIR="${PACKAGE_TMPDIR}/debian"
|
||||||
|
PACKAGE_SYSUNITDIR=etc/systemd/system
|
||||||
|
PACKAGE_RSYSLOGDIR=etc/rsyslog.d
|
||||||
|
PACKAGE_LOGROTATEDIR=etc/logrotate.d
|
||||||
|
|
||||||
if [[ -f /etc/upstream-release/lsb-release ]]; then
|
if [[ -f /etc/upstream-release/lsb-release ]]; then
|
||||||
source /etc/upstream-release/lsb-release
|
source /etc/upstream-release/lsb-release
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue