From c738dbf96c5624d98c62697d87dc41dd477259ca Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Tue, 28 Jul 2009 17:53:05 +0200 Subject: [PATCH 1/1] Use true binary without leading /bin/ in preinst script --- debian/preinst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 && \ -- 2.1.4