From df275cbe714453f3e4cd53f9fa30e6cb528df3a5 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 17 Aug 2015 17:09:35 -0300 Subject: Use new base.mtree installed by upcoming core package --- usr/local/share/pfSense/post_upgrade_command | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr') diff --git a/usr/local/share/pfSense/post_upgrade_command b/usr/local/share/pfSense/post_upgrade_command index a9e3e57..097bc5c 100755 --- a/usr/local/share/pfSense/post_upgrade_command +++ b/usr/local/share/pfSense/post_upgrade_command @@ -30,13 +30,13 @@ fi rm -f /root/*.md5 >/dev/null 2>&1 # Fixup permissions on installed files -if [ -f ${ROOT}etc/installed_filesystem.mtree ]; then +if [ -f ${ROOT}usr/local/share/pfSense/base.mtree ]; then if [ -x "/tmp/mtree.old" ]; then MTREE_BIN=/tmp/mtree.old else MTREE_BIN=/usr/sbin/mtree fi - ${MTREE_BIN} -U -e -q -f ${ROOT}etc/installed_filesystem.mtree -p ${ROOT} > /conf/mtree.log + ${MTREE_BIN} -U -e -q -f ${ROOT}usr/local/share/pfSense/base.mtree -p ${ROOT} > /conf/mtree.log fi # Make sure to preserve existing time zone -- cgit v1.1