mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
Ubuntu package unix lists wrong config (#1103)
* Ubuntu package unix lists wrong config Fixes #1092 * fixes version detection in the Deb build scripts
This commit is contained in:
parent
ada9eb785a
commit
3ca622e5f0
|
@ -46,8 +46,8 @@ if [ "$(which cargo | wc -l)" -eq 0 ]; then
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# this assumes the versions are in lock-step, which is fine at the moment.s
|
# this assumes the versions are in lock-step, which is fine at the moment.
|
||||||
KANIDM_VERSION="$(grep -ioE 'version.*' kanidm_tools/Cargo.toml | head -n1 | awk '{print $NF}' | tr -d '"')"
|
KANIDM_VERSION="$(grep -ioE 'version.*' Cargo.toml | head -n1 | awk '{print $NF}' | tr -d '"')"
|
||||||
|
|
||||||
# if we're in a github action, then it's easy to get the commit
|
# if we're in a github action, then it's easy to get the commit
|
||||||
if [ -n "${GITHUB_SHA}" ]; then
|
if [ -n "${GITHUB_SHA}" ]; then
|
||||||
|
|
|
@ -12,8 +12,8 @@ case "$1" in
|
||||||
echo "============================="
|
echo "============================="
|
||||||
echo "Thanks for installing Kanidm!"
|
echo "Thanks for installing Kanidm!"
|
||||||
echo "============================="
|
echo "============================="
|
||||||
echo "Please ensure you create a configuration file at /etc/kanidm/config"
|
echo "Please ensure you create configuration files at /etc/kanidm/unixd and /etc/kanidm/config"
|
||||||
echo "An example is in /usr/share/kanidm-unixd/"
|
echo "Examples are in /usr/share/kanidm-unixd/"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
|
@ -55,3 +55,7 @@ override_dh_installexamples:
|
||||||
-g root -o root \
|
-g root -o root \
|
||||||
examples/kanidm \
|
examples/kanidm \
|
||||||
${SHARED_DIR}/
|
${SHARED_DIR}/
|
||||||
|
install -D \
|
||||||
|
-g root -o root \
|
||||||
|
examples/config \
|
||||||
|
${SHARED_DIR}/
|
||||||
|
|
Loading…
Reference in a new issue