Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
ca9b0bbb
Commit
ca9b0bbb
authored
Apr 21, 2009
by
Emmanuel Milou
Browse files
[TICKET #1212] Add maintainer scripts to create alternatives
parent
6f57a0fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
sflphone-client-gnome/debian/postinst
0 → 100644
View file @
ca9b0bbb
#!/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
sflphone-client-gnome/debian/prerm
0 → 100644
View file @
ca9b0bbb
#!/bin/sh -e
if
[
"
$1
"
=
"remove"
]
;
then
# Remove alternatives symlink set in postinst
update-alternatives
--remove
sflphone /usr/bin/sflphone
fi
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment