if dpkg --compare-versions $preversion lt 2.3.999.2-4; then
^^^ $preversion needs to be quoted here, so it works on fresh installs.
Also, when this is fixed, the version check should probably be bumped, so that people who got this broken on a beta install will magically get it fixed on upgrade.
if dpkg --compare-versions $preversion lt 2.3.999.2-4; then
^^^ $preversion needs to be quoted here, so it works on fresh installs.
Also, when this is fixed, the version check should probably be bumped, so that people who got this broken on a beta install will magically get it fixed on upgrade.