summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-04-11 12:36:12 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2021-04-11 12:45:43 +0000
commitf2f17acc25862fed039e8e762ffbab82f38e2e1d (patch)
treea652c70aa133dc27604028676af76874ee887816 /libexec
parentUsing /usr/libexec/container instead of /usr/libexec/open-infrastructure/cont... (diff)
downloadcompute-tools-f2f17acc25862fed039e8e762ffbab82f38e2e1d.tar.xz
compute-tools-f2f17acc25862fed039e8e762ffbab82f38e2e1d.zip
Using /usr/share/compute-tools instead of /usr/share/open-infrastructure/container.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'libexec')
-rwxr-xr-xlibexec/container/create4
-rwxr-xr-xlibexec/container/version2
2 files changed, 3 insertions, 3 deletions
diff --git a/libexec/container/create b/libexec/container/create
index 91ba4c6..3d639e5 100755
--- a/libexec/container/create
+++ b/libexec/container/create
@@ -27,8 +27,8 @@ COMMAND="$(basename ${0})"
CONFIG="/etc/${SOFTWARE}/config"
HOOKS="/etc/${SOFTWARE}/hooks"
MACHINES="/var/lib/machines"
-SCRIPTS="/usr/share/${PROJECT}/${PROGRAM}/scripts"
-CONFIG_TEMPLATE="/usr/share/${PROJECT}/${PROGRAM}/config/container.conf.in"
+SCRIPTS="/usr/share/${SOFTWARE}/scripts"
+CONFIG_TEMPLATE="/usr/share/${SOFTWARE}/config/container.conf.in"
Parameters ()
{
diff --git a/libexec/container/version b/libexec/container/version
index f74c696..7e90b4e 100755
--- a/libexec/container/version
+++ b/libexec/container/version
@@ -25,7 +25,7 @@ PROGRAM="container"
COMMAND="$(basename ${0})"
HOOKS="/etc/${SOFTWARE}/hooks"
-SHARE="/usr/share/${PROJECT}/${PROGRAM}"
+SHARE="/usr/share/${SOFTWARE}"
# Pre hooks
for FILE in "${HOOKS}/pre-${COMMAND}".* "${HOOKS}/${NAME}.pre-${COMMAND}"