projects
/
carnet-upgrade.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e7fccd
)
Properly disable apt-listchanges.
author
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Thu, 9 Feb 2012 13:07:11 +0000
(14:07 +0100)
committer
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Thu, 9 Feb 2012 13:07:11 +0000
(14:07 +0100)
src/functions.sh
patch
|
blob
|
history
diff --git
a/src/functions.sh
b/src/functions.sh
index
83fc87d
..
f5a0859
100644
(file)
--- a/
src/functions.sh
+++ b/
src/functions.sh
@@
-787,14
+787,14
@@
apt_listchanges () {
case $command in
disable)
if [ -f $file ]; then
- dpkg-divert --local --rename --divert $file.$backup_ext \
+ dpkg-divert --local --rename --divert $file.disabled \
--add $file || true
fi
;;
enable)
- if [ -f $file.$backup_ext ]; then
- dpkg-divert --remove $file || true
+ if [ -f $file.disabled ]; then
+ dpkg-divert --rename --remove $file || true
fi
;;
esac