aboutsummaryrefslogtreecommitdiff
path: root/apt/50whatmaps_apt
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-06-06 19:27:21 +0200
committerGuido Günther <agx@sigxcpu.org>2014-06-06 19:37:49 +0200
commit4d69afd6a6f29284218e3b3ccc386ec9655172c2 (patch)
tree0e8c3cb28a300a95659c2f7086e36f0d84509d00 /apt/50whatmaps_apt
parentfd6534d56992222f1a5313ff4cf9e1812c4a553d (diff)
Don't break apt after package removalv0.0.7
Diffstat (limited to 'apt/50whatmaps_apt')
-rw-r--r--apt/50whatmaps_apt2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt/50whatmaps_apt b/apt/50whatmaps_apt
index cefb5fe..632efdd 100644
--- a/apt/50whatmaps_apt
+++ b/apt/50whatmaps_apt
@@ -1,3 +1,3 @@
-DPkg::Pre-Install-Pkgs { "/usr/bin/whatmaps --apt --restart --print-cmds=/var/lib/whatmaps/restart.sh" };
+DPkg::Pre-Install-Pkgs { "/usr/bin/whatmaps --apt --restart --print-cmds=/var/lib/whatmaps/restart.sh || true" };
DPkg::Post-Invoke { "if [ -x /var/lib/whatmaps/restart.sh ]; then /var/lib/whatmaps/restart.sh; rm -f /var/lib/whatmaps/restart.sh; fi" };
DPkg::Tools::Options::/usr/bin/whatmaps::Version "2";