This is a patch to change the postinst script to copy over a new
configuration file in case /etc/wifi-radar.conf is empty. Would this be the
right way to fix the issue?
diff -u wifi-radar-1.9.9/debian/postinst wifi-radar-1.9.9/debian/postinst
--- wifi-radar-1.9.9/debian/postinst
+++ wifi-radar-1.9.9/debian/postinst
@@ -6,7 +6,7 @@
umask 0077
-if [ ! -e /etc/wifi-radar.conf ]; then
+if [ ! -e /etc/wifi-radar.conf || ! -s /etc/wifi-radar.conf]; then
cp /usr/share/wifi-radar/wifi-radar.conf /etc/
fi
diff -u wifi-radar-1.9.9/debian/changelog wifi-radar-1.9.9/debian/changelog
--- wifi-radar-1.9.9/debian/changelog
+++ wifi-radar-1.9.9/debian/changelog
@@ -1,3 +1,10 @@
+wifi-radar (1.9.9-1.1ubuntu1) intrepid; urgency=low
+
+ * Fixes the postinst script to install a new configuration file if the
+ previous one is empty Closes: #490667
+
+ -- Joseph M Smith <[EMAIL PROTECTED]> Thu, 28 Aug 2008 21:28:03 -0700
+
wifi-radar (1.9.9-1.1) unstable; urgency=low
* Non-maintainer upload to fix pending l10n issues