X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=functions.sh;h=b0c8be6189a0c845874636afe00d85391dcd8db7;hb=bb3a8cff0033770755d9d9936a0b54361b63944b;hp=73d69fca7a4f79693a6899a8468e537665268bee;hpb=bdb9172b3b081e91fe906a4bb43298054c3e5071;p=carnet-tools-cn.git diff --git a/functions.sh b/functions.sh index 73d69fc..b0c8be6 100644 --- a/functions.sh +++ b/functions.sh @@ -183,7 +183,7 @@ cp_check_and_sed() { [ -h "$i" ] && i=$(readlink -f "$i") sed "$sedcmd" "$i" > "$i.dpkg-tmp" if ! cmp -s "$i" "$i.dpkg-tmp" 2>&1 >/dev/null; then - cp_safe_file_replace "$i.dpkg-tmp" "$i" + cp_mv "$i.dpkg-tmp" "$i" else rm "$i.dpkg-tmp" fi