Commit ca9b0bbb authored by Emmanuel Milou's avatar Emmanuel Milou

[TICKET #1212] Add maintainer scripts to create alternatives

parent 6f57a0fb
#!/bin/sh -e
update-alternatives --install /usr/bin/sflphone sflphone /usr/bin/sflphone-client-gnome 100 \
--slave /usr/share/man/man1/sflphone.1.gz sflphone.1.gz \
/usr/share/man/man1/sflphone-client-gnome.1.gz
exit 0
#!/bin/sh -e
if [ "$1" = "remove" ]; then
# Remove alternatives symlink set in postinst
update-alternatives --remove sflphone /usr/bin/sflphone
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment