X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Fion3.postinst;h=9ec35675f488db5d7d7ceccd0ce3cd83c53adcf7;hb=af7f6afaa2e3c8d3daeb6e3e5f32f8f0b5b75757;hp=f8e8fd92d20d02d1d7bdbf2c6819b51d2fa61391;hpb=dd31dc3ce15f1c3b1db2ac464f0c5ea04836911a;p=ion3.git diff --git a/debian/ion3.postinst b/debian/ion3.postinst index f8e8fd9..9ec3567 100644 --- a/debian/ion3.postinst +++ b/debian/ion3.postinst @@ -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='' @@ -67,6 +68,9 @@ if [ -f $inst ]; then chmod a+x $inst fi +# Initialise extra configuration file list if missing +[ -f /etc/X11/ion3/cfg_debian_ext.lua ] || >/etc/X11/ion3/cfg_debian_ext.lua + #DEBHELPER# # Remove the old now-renamed generated Debian menu