projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0d12192
)
try to fix preinst failure on Debian stable systems
0.2.26
author
Michael Prokop
<mika@grml.org>
Sat, 3 Mar 2007 17:17:00 +0000
(18:17 +0100)
committer
Michael Prokop
<mika@grml.org>
Sat, 3 Mar 2007 17:17:00 +0000
(18:17 +0100)
debian/changelog
patch
|
blob
|
history
debian/preinst
patch
|
blob
|
history
diff --git
a/debian/changelog
b/debian/changelog
index
0393388
..
7299b2d
100644
(file)
--- a/
debian/changelog
+++ b/
debian/changelog
@@
-1,6
+1,7
@@
grml-etc-core (0.2.26) unstable; urgency=low
* Move /etc/skel/.channels to package grml-etc.
grml-etc-core (0.2.26) unstable; urgency=low
* Move /etc/skel/.channels to package grml-etc.
+ * Fix preinst failure of /etc/zsh/zlogin on Debian stable systems.
-- Michael Prokop <mika@grml.org> Thu, 1 Mar 2007 14:59:51 +0100
-- Michael Prokop <mika@grml.org> Thu, 1 Mar 2007 14:59:51 +0100
diff --git
a/debian/preinst
b/debian/preinst
index
848ecff
..
f0f894b
100755
(executable)
--- a/
debian/preinst
+++ b/
debian/preinst
@@
-4,7
+4,7
@@
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# 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
################################################################################
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
# 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 && \
divert_conffile $file && \
[ -f "$file" ] && rm $file && \
dpkg-divert --quiet --add --rename --package grml-etc-core --divert "$file".original $file && \