Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
ca9b0bbb
Commit
ca9b0bbb
authored
16 years ago
by
Emmanuel Milou
Browse files
Options
Downloads
Patches
Plain Diff
[TICKET #1212] Add maintainer scripts to create alternatives
parent
6f57a0fb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sflphone-client-gnome/debian/postinst
+7
-0
7 additions, 0 deletions
sflphone-client-gnome/debian/postinst
sflphone-client-gnome/debian/prerm
+7
-0
7 additions, 0 deletions
sflphone-client-gnome/debian/prerm
with
14 additions
and
0 deletions
sflphone-client-gnome/debian/postinst
0 → 100644
+
7
−
0
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
This diff is collapsed.
Click to expand it.
sflphone-client-gnome/debian/prerm
0 → 100644
+
7
−
0
View file @
ca9b0bbb
#!/bin/sh -e
if
[
"
$1
"
=
"remove"
]
;
then
# Remove alternatives symlink set in postinst
update-alternatives
--remove
sflphone /usr/bin/sflphone
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment