From 536bddbdca900fbeb8d0346eb00f44128cacf3d1 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 26 Jul 2010 10:35:20 +0200 Subject: [PATCH] dump: fixed to disable rmt command if tar package is installed --- base/dump/dump.conf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/base/dump/dump.conf b/base/dump/dump.conf index fabdd312f..67f36fff6 100644 --- a/base/dump/dump.conf +++ b/base/dump/dump.conf @@ -2,6 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../dump/dump.conf +# Copyright (C) 2010 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -15,9 +16,13 @@ unset LD confopt="$confopt --enable-static \ - --enable-rmt \ --with-manowner=root \ --with-mangrp=root \ --with-bingrp=root \ --with-binmode=0755 \ --with-manmode=644" + +if pkginstalled tar; then + echo_status "Disabling rmt command (found rmt provided by tar)" + var_append extraconfopt ' ' "--disable-rmt" +fi