The changes to the Debian postinst to update an existing modified
configuration to the new style called onak with a full pathname. This
is contrary to Policy, so drop the path as dpkg should call us with
a sane $PATH.
# file. onak will use the file extension to determine it's
# an old style config, so we need the symlink.
ln -s /etc/onak.conf.dpkg-backup /etc/onak.conf
- /usr/bin/onak -c /etc/onak.conf dumpconfig /etc/onak.ini
+ onak -c /etc/onak.conf dumpconfig /etc/onak.ini
rm /etc/onak.conf
fi
fi