X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=debian%2Fpreinst;h=f0f894bb5b53e6d08f4cbe7f05e616b959b61425;hb=6193e553d31bf5aba61f8ef5ffd072ac3805ef7a;hp=848ecfff44f011e24d25289d8f6fae15894e6571;hpb=0d12192cd79feeddfa56c177b212606d20068d71;p=grml-etc-core.git diff --git a/debian/preinst b/debian/preinst index 848ecff..f0f894b 100755 --- a/debian/preinst +++ b/debian/preinst @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Fre Feb 09 15:24:01 CET 2007 [mika] +# Latest change: Sam Mär 03 18:16:47 CET 2007 [mika] ################################################################################ set -e @@ -29,7 +29,7 @@ case "$1" in # we don't lose any files... for file in /etc/zsh/zlogin /etc/zsh/zprofile /etc/zsh/zshenv /etc/zsh/zshrc \ /etc/zsh/zlogout /etc/vim/vimrc; do - [ -e "$file".original ] || cp -f "$file" "${file}.tmp.$$" + [ -e "$file".original ] || cp -f "$file" "${file}.tmp.$$" || /bin/true divert_conffile $file && \ [ -f "$file" ] && rm $file && \ dpkg-divert --quiet --add --rename --package grml-etc-core --divert "$file".original $file && \