Skip to content
Snippets Groups Projects
Commit ca9b0bbb authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

[TICKET #1212] Add maintainer scripts to create alternatives

parent 6f57a0fb
No related branches found
No related tags found
No related merge requests found
#!/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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment