projects
/
carnet-upgrade.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Always cleanup diversion.
[carnet-upgrade.git]
/
src
/
functions.sh
diff --git
a/src/functions.sh
b/src/functions.sh
index
deffe51
..
f85117d
100644
(file)
--- a/
src/functions.sh
+++ b/
src/functions.sh
@@
-793,9
+793,8
@@
apt_listchanges () {
;;
enable)
- if [ -f $file.disabled ]; then
- dpkg-divert --rename --remove $file || true
- fi
+ # cleanup the diversion even if the file is already removed
+ dpkg-divert --rename --remove $file || true
;;
esac
done