From d14220d4e54f293af80becdf18083f0edae754dc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 11 Apr 2021 14:44:39 +0200 Subject: Using /var/cache/container instead of /var/cache/open-infrastructure/container. Signed-off-by: Daniel Baumann --- share/scripts/curl | 2 +- share/scripts/debconf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'share/scripts') diff --git a/share/scripts/curl b/share/scripts/curl index a975214..15f64f9 100755 --- a/share/scripts/curl +++ b/share/scripts/curl @@ -27,7 +27,7 @@ SCRIPT="${0}" HOOKS="/etc/${SOFTWARE}/hooks" KEYS="/etc/${SOFTWARE}/keys" MACHINES="/var/lib/machines" -CACHE="/var/cache/${PROJECT}/${PROGRAM}/system" +CACHE="/var/cache/${PROGRAM}/system" Parameters () { diff --git a/share/scripts/debconf b/share/scripts/debconf index 40606ca..0eb096f 100755 --- a/share/scripts/debconf +++ b/share/scripts/debconf @@ -1132,7 +1132,7 @@ done # Read-in configuration from debconf . "${DEBCONF_TMPDIR}/debconf.default" -CACHE="/var/cache/${PROJECT}/${PROGRAM}/${MODE}" +CACHE="/var/cache/${PROGRAM}/${MODE}" SYSTEM="${MACHINES}/${NAME}" ## Generic parts @@ -1145,7 +1145,7 @@ then mv "${CACHE}/${DISTRIBUTION}_${ARCHITECTURE}.tmp" "${CACHE}/${DISTRIBUTION}_${ARCHITECTURE}" fi -Upgrade_system "${CACHE}/${DISTRIBUTION}_${ARCHITECTURE}" || echo "W: If upgrading the system failed, try removing the cache for your distribution in /var/cache/${PROJECT}/${PROGRAM}" +Upgrade_system "${CACHE}/${DISTRIBUTION}_${ARCHITECTURE}" || echo "W: If upgrading the system failed, try removing the cache for your distribution in /var/cache/${PROGRAM}" Cleanup_system "${CACHE}/${DISTRIBUTION}_${ARCHITECTURE}" ## Specific parts -- cgit v1.2.3