Package: aptitude Followup-For: Bug #1039969 Control: tags -1 patch Patch attached that makes aptitude use /run by default instead of /var/run
>From 02a2be8f5b8140a4fb97ad30f8d42ac9dbac7fe2 Mon Sep 17 00:00:00 2001 From: Your Name <y...@example.com> Date: Fri, 4 Aug 2023 13:20:52 +0000 Subject: [PATCH] use /run instead of /var/run
--- configure | 4 ++-- configure.ac | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index be7e60e..89a23e4 100755 --- a/configure +++ b/configure @@ -903,7 +903,7 @@ datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' -runstatedir='${localstatedir}/run' +runstatedir='${prefix}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' @@ -10780,7 +10780,7 @@ if test "${with_lock_loc+set}" = set; then : LOCKFILE="$enableval" fi else - LOCKFILE="/var/lock/aptitude" + LOCKFILE="/run/lock/aptitude" fi diff --git a/configure.ac b/configure.ac index e237a74..effc2f8 100644 --- a/configure.ac +++ b/configure.ac @@ -643,7 +643,7 @@ AC_ARG_WITH(lock-loc, else LOCKFILE="$enableval" fi, - LOCKFILE="/var/lock/aptitude") + LOCKFILE="/run/lock/aptitude") AC_ARG_ENABLE(aptitude, AS_HELP_STRING([--disable-aptitude], [don't compile the program itself]), -- 2.39.2