X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Fion3.postinst;h=1273402bab6e9fc5bd9ad9a94d869b736a3a27d7;hb=HEAD;hp=00db80703556d134ddefd1fdfe577fc19132d019;hpb=d2a43a53786878c1273313249d3b49f6cd559b00;p=ion3.git diff --git a/debian/ion3.postinst b/debian/ion3.postinst index 00db807..1273402 100644 --- a/debian/ion3.postinst +++ b/debian/ion3.postinst @@ -1,5 +1,9 @@ #!/bin/sh set -e +. /usr/share/debconf/confmodule + +UPSTREAM_VERSION= +DEBIAN_VERSION= if [ -h /etc/X11/ion3/draw.lua ]; then rm -f /etc/X11/ion3/draw.lua @@ -27,6 +31,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