projects
/
carnet-tools-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r65: ispravak manpage s onims to je jelly trazio na listi paketi...
[carnet-tools-cn.git]
/
functions.sh
diff --git
a/functions.sh
b/functions.sh
index
19116f8
..
75014f0
100644
(file)
--- a/
functions.sh
+++ b/
functions.sh
@@
-137,12
+137,12
@@
cp_get_netaddr() {
CP_ECHO_RETURN="$echo_return"
}
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
[ "$CP_SCRIPT_DEBUG" ] && set -vx
local file_bak check did