projects
/
carnet-upgrade.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Properly disable apt-listchanges.
[carnet-upgrade.git]
/
src
/
functions.sh
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
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)
--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
fi
;;
esac