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:
ece9edc
)
dchange(): use aptitude to retrieve changelog
0.3.13
author
Michael Prokop
<mika@grml.org>
Mon, 2 Jul 2007 16:17:56 +0000
(18:17 +0200)
committer
Michael Prokop
<mika@grml.org>
Mon, 2 Jul 2007 16:17:56 +0000
(18:17 +0200)
debian/changelog
patch
|
blob
|
history
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/debian/changelog
b/debian/changelog
index
c775962
..
0b047a6
100644
(file)
--- a/
debian/changelog
+++ b/
debian/changelog
@@
-5,6
+5,8
@@
grml-etc-core (0.3.13) unstable; urgency=low
with bootoption dvorak might be not so amusing for people
not being used to dvorak keyboard layout :)
- added alias "$(uname -r)-reboot for fast rebooting via kexec
with bootoption dvorak might be not so amusing for people
not being used to dvorak keyboard layout :)
- added alias "$(uname -r)-reboot for fast rebooting via kexec
+ - dchange(): use aptitude to retrieve changelog if no changelog
+ can be found on the local system (thanks for the idea, nico!)
-- Michael Prokop <mika@grml.org> Sun, 01 Jul 2007 23:05:58 +0200
-- Michael Prokop <mika@grml.org> Sun, 01 Jul 2007 23:05:58 +0200
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
c05bc6c
..
3b6d6de
100644
(file)
--- a/
etc/zsh/zshrc
+++ b/
etc/zsh/zshrc
@@
-3,7
+3,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 Jun 29 11:46:37
CEST 2007 [mika]
+# Latest change:
Mon Jul 02 18:17:08
CEST 2007 [mika]
################################################################################
# This file is sourced only for interactive shells. It
# should contain commands to set up aliases, functions,
################################################################################
# This file is sourced only for interactive shells. It
# should contain commands to set up aliases, functions,
@@
-1256,8
+1256,13
@@
If you want to use xinit anyway please call \"/usr/bin/xinit\"."
if [ -r /usr/share/doc/${1}/changelog.Debian.gz ] ; then
most /usr/share/doc/${1}/changelog.Debian.gz
else
if [ -r /usr/share/doc/${1}/changelog.Debian.gz ] ; then
most /usr/share/doc/${1}/changelog.Debian.gz
else
- if [ -r /usr/share/doc/${1}/changelog.gz ] ; then
- most /usr/share/doc/${1}/changelog.gz
+ if type -p aptitude &>/dev/null ; then
+ echo "No changelog for package $1 found, using aptitude to retrieve it."
+ if isgrml ; then
+ aptitude -t unstable changelog tsclient
+ else
+ aptitude changelog ${1}
+ fi
else
echo "No changelog for package $1 found, sorry."
return 1
else
echo "No changelog for package $1 found, sorry."
return 1