Fixed an error in settings dialog that caused app to segfault on arm. Changed init...
[jenirok] / debian / postinst
index 3eb2f3c..3c024db 100644 (file)
@@ -3,8 +3,7 @@
 gtk-update-icon-cache -f /usr/share/icons/hicolor
 
 # Make jenirok autostart on boot if this is a new install
-oldversion="$2"
-if [ -z "$oldversion" ]; then
+if [ -z "$2" ]; then
   update-rc.d jenirokd defaults 99 >/dev/null
 fi