Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
apt
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pkg
apt
Commits
21622f09
Commit
21622f09
authored
3 years ago
by
Andre Moreira Magalhaes
Committed by
Walter Lozano
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Apply 1 suggestion(s) to 1 file(s)
parent
7f9912d1
No related branches found
No related tags found
No related merge requests found
Pipeline
#307093
canceled
3 years ago
Stage: build-env
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmdline/apt-key.in
+1
-1
1 addition, 1 deletion
cmdline/apt-key.in
with
1 addition
and
1 deletion
cmdline/apt-key.in
+
1
−
1
View file @
21622f09
...
...
@@ -326,7 +326,7 @@ is_supported_keyring() {
if
[
"
$FILEEXT
"
=
'gpg'
]
;
then
# 0x98, 0x99 and 0xC6 via octal as hex isn't supported by dashs printf
local
BYTE_TMP_FILE
=
$(
mktemp
)
head
-c
1
"
$1
"
>
$BYTE_TMP_FILE
head
-c
1
"
$1
"
>
"
$BYTE_TMP_FILE
"
if
printf
'\231'
| cmp
-s
-
"
$BYTE_TMP_FILE
"
;
then
true
elif
printf
'\230'
| cmp
-s
-
"
$BYTE_TMP_FILE
"
;
then
...
...
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