From 329bc63586737e55b639e893008f0c2043c0ef85 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sat, 28 Oct 2006 16:01:35 +0000 Subject: [PATCH] Forgot some ${D}'s to replace svn path=/main/branches/prefix/; revision=4866 --- bin/misc-functions.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index d673b37e2..7a58cd57a 100644 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -271,18 +271,18 @@ preinst_bsdflags() { type -p chflags &>/dev/null || return 0 type -p mtree &>/dev/null || return 1 # Save all the file flags for restoration after installation. - mtree -c -p "${D}" -k flags > "${T}/bsdflags.mtree" + mtree -c -p "${ED}" -k flags > "${T}/bsdflags.mtree" # Remove all the file flags so that the merge phase can do anything # necessary. - chflags -R noschg,nouchg,nosappnd,nouappnd "${D}" - chflags -R nosunlnk,nouunlnk "${D}" 2>/dev/null + chflags -R noschg,nouchg,nosappnd,nouappnd "${ED}" + chflags -R nosunlnk,nouunlnk "${ED}" 2>/dev/null } postinst_bsdflags() { type -p chflags &>/dev/null || return 0 type -p mtree &>/dev/null || return 1 # Restore all the file flags that were saved before installation. - mtree -e -p "${ROOT}" -U -k flags < "${T}/bsdflags.mtree" &> /dev/null + mtree -e -p "${EROOT}" -U -k flags < "${T}/bsdflags.mtree" &> /dev/null } preinst_mask() { -- 2.26.2