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:
c114b98
)
Always cleanup diversion.
author
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Mon, 13 Feb 2012 12:06:23 +0000
(13:06 +0100)
committer
Valentin Vidic
<Valentin.Vidic@CARNet.hr>
Mon, 13 Feb 2012 12:06:23 +0000
(13:06 +0100)
src/functions.sh
patch
|
blob
|
history
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