]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[538-kea-should-not-store-anything-in-var-kea-lsb-violation] Moved to localstatedir...
authorFrancis Dupont <fdupont@isc.org>
Fri, 31 May 2019 22:44:42 +0000 (00:44 +0200)
committerFrancis Dupont <fdupont@isc.org>
Tue, 18 Jun 2019 16:54:26 +0000 (12:54 -0400)
src/lib/dhcpsrv/Makefile.am
src/share/database/scripts/cql/upgrade_2.0_to_3.0.sh.in
src/share/database/scripts/cql/upgrade_3.0_to_4.0.sh.in

index 378e07e31d60ea3ab1c1f353582df2bbbb8632bc..0db7d30fc35128eca9919cec6279d144f5c7209c 100644 (file)
@@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = subdir-objects
 
 SUBDIRS = . testutils tests benchmarks
 
-dhcp_data_dir = @localstatedir@/@PACKAGE@
+dhcp_data_dir = @localstatedir@/lib/@PACKAGE@
 kea_lfc_location = @prefix@/sbin/kea-lfc
 
 AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib -DDHCP_DATA_DIR="\"$(dhcp_data_dir)\""
index f722830a0a339504d73b809dd77c2571546be09b..d7110590dc060a9ab533a577bdf6cb0265166909 100644 (file)
@@ -10,10 +10,10 @@ else
 fi
 
 # Need a path for temporary files created during upgrade data migration
-# Use the state directory in the  install path directory if it exists, otherwise
+# Use the state directory in the install path directory if it exists, otherwise
 # use the build tree
-if [ -e "@localstatedir@/@PACKAGE_NAME@" ]; then
-    temp_file_dir="@localstatedir@/@PACKAGE_NAME@"
+if [ -e "@localstatedir@/lib/@PACKAGE_NAME@" ]; then
+    temp_file_dir="@localstatedir@/lib/@PACKAGE_NAME@"
 else
     temp_file_dir="@abs_top_builddir@/src/share/database/scripts/cql"
 fi
index 8a2a8b493c131dd2f97978a0f1b490e341ab24bc..aa3bdf8ef575094cf8802736e97c76ab47d14757 100644 (file)
@@ -10,10 +10,10 @@ else
 fi
 
 # Need a path for temporary files created during upgrade data migration
-# Use the state directory in the  install path directory if it exists, otherwise
+# Use the state directory in the install path directory if it exists, otherwise
 # use the build tree
-if [ -e "@localstatedir@/@PACKAGE_NAME@" ]; then
-    temp_file_dir="@localstatedir@/@PACKAGE_NAME@"
+if [ -e "@localstatedir@/lib/@PACKAGE_NAME@" ]; then
+    temp_file_dir="@localstatedir@/lib/@PACKAGE_NAME@"
 else
     temp_file_dir="@abs_top_builddir@/src/share/database/scripts/cql"
 fi