From: Zoran Dzelajlija Date: Sat, 30 Apr 2005 02:46:20 +0000 (+0000) Subject: r64: Greskom zamijenjena imena cp_*backup* funkcija. X-Git-Tag: debian/3.0.0~42 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=84585bc441d81f0e9d0b1cc514d88a97efe8a56f;p=carnet-tools-cn.git r64: Greskom zamijenjena imena cp_*backup* funkcija. --- diff --git a/functions.sh b/functions.sh index 19116f8..75014f0 100644 --- a/functions.sh +++ b/functions.sh @@ -137,12 +137,12 @@ cp_get_netaddr() { CP_ECHO_RETURN="$echo_return" } -# by ico, Tue, 15 Mar 2005 14:04:21 +0100 -cp_backup_conffile() { - cp_check_and_backup "$@" +cp_check_and_backup() { + cp_backup_conffile -r "$@" } -cp_check_and_backup() { +# by ico, Tue, 15 Mar 2005 14:04:21 +0100 +cp_backup_conffile() { [ "$CP_SCRIPT_DEBUG" ] && set -vx local file_bak check did