]> git.decadent.org.uk Git - ion3.git/blobdiff - debian/ion3.postinst
Changed version check to accept failure of uscan.
[ion3.git] / debian / ion3.postinst
index bfa57184775cb7d74d6259625a2df124b06d8a18..9ec35675f488db5d7d7ceccd0ce3cd83c53adcf7 100644 (file)
@@ -13,9 +13,10 @@ if [ "$1" = configure ] \
     # it is not.  I freely admit that this is a horrible abuse of
     # debconf, but it seems slightly less unpleasant than maintaining
     # a renamed version. - benh
-    uscan_output=$(uscan 2>&1 --no-conf --report-status \
-                  --package ion3 --upstream-version "$UPSTREAM_VERSION" \
-                  --watchfile /usr/share/ion3/debian/watch)
+    uscan_output="$(uscan 2>&1 --no-conf --report-status \
+                   --package ion3 --upstream-version "$UPSTREAM_VERSION" \
+                   --watchfile /usr/share/ion3/debian/watch \
+                    || true)"
     case "$uscan_output" in
        *"up to date"*)
            question=''