X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=debian%2Fpreinst;h=ec6b7a9a7596c42ac13d5525819ec9ee8340039a;hb=8c10100d37bd17eaf94fb18ccd8e749a1bb0d4d0;hp=06a79170ec4661ad7fc8de8a5312ddbe05b10322;hpb=007267fb430c8bcba8176e81f7f7a96015c9bad4;p=grml-etc-core.git diff --git a/debian/preinst b/debian/preinst index 06a7917..ec6b7a9 100755 --- a/debian/preinst +++ b/debian/preinst @@ -4,7 +4,6 @@ # 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: Sam Sep 15 10:36:46 CEST 2007 [mika] ################################################################################ set -e @@ -28,7 +27,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.$TMP" 2>/dev/null || /bin/true + [ -e "$file".original ] || cp -f "$file" "${file}.tmp.$TMP" 2>/dev/null || true # [ -e "$file".dpkg-new ] && cp -f "$file".dpkg-new "${file}.tmp.$TMP" backup_conffile $file && \ [ -f "$file" ] && rm $file && \