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
0a7d4494
Commit
0a7d4494
authored
9 years ago
by
hboyet
Committed by
Guillaume Roguez
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
packaging: fix gpg key postinstallation
Refs #75179 Change-Id: I67de48b56c06f5dd663513ba72527e518cd6382c
parent
a2513e8b
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
debian/ring-daemon.postinst
+4
-40
4 additions, 40 deletions
debian/ring-daemon.postinst
with
4 additions
and
40 deletions
debian/ring-d
e
amon.postint
→
debian/ring-da
e
mon.postin
s
t
+
4
−
40
View file @
0a7d4494
#!/bin/sh
#!/bin/sh
set
-e
set
-e
available
()
if
hash
apt-key
{
command
-v
"
$1
"
>
/dev/null/ 2>&1
}
DISTRIB_ID
=
$(
shell
grep
-hPo
"^ID=
\K
.*"
/etc/
*
ease
)
DISTRIB_VERSION_ID
=
$(
shell
grep
-hPo
"^VERSION_ID=
\K
.*"
/etc/
*
ease
)
case
"
$1
"
in
configure
)
if
[
"
$RET
"
=
true
]
;
then
if
[
!
-f
/etc/apt/sources.list.d/ring-nightly.list
]
;
then
cat
>
/etc/apt/sources.list.d/ring-nightly.list
<<
EOF
deb [arch=amd64] http://nightly.apt.ring.cx/
$(
DISTRIB_ID
)
_
$(
DISTRIB_VERSION_ID
)
ring main
EOF
fi
fi
if
available apt-key
then
then
apt-key add -
>
/dev/null
<<
EOF
apt-key add -
>
/dev/null
<<
EOF
-----BEGIN PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP PUBLIC KEY BLOCK-----
...
@@ -62,20 +41,5 @@ HUFCGSHO3/kzxSlkE1PBUX3IZ8PSFijyopBnWUhlSXuyRjte8OR7Fl/Rlf0IaOD1
...
@@ -62,20 +41,5 @@ HUFCGSHO3/kzxSlkE1PBUX3IZ8PSFijyopBnWUhlSXuyRjte8OR7Fl/Rlf0IaOD1
4sRdAfS333T4Uifq4uOu
4sRdAfS333T4Uifq4uOu
=s2aQ
=s2aQ
-----END PGP PUBLIC KEY BLOCK-----
-----END PGP PUBLIC KEY BLOCK-----
EOF
EOF
fi
fi
;;
abort-upgrade|abort-remove|abort-deconfigure
)
exit
0
;;
*
)
echo
"postinst called with unknown argument
\`
$1
'"
>
&2
exit
1
;;
esac
exit
0
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