Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
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
jarl
tor
Commits
7c0eb100
Commit
7c0eb100
authored
8 years ago
by
Peter Palfrader
Browse files
Options
Downloads
Patches
Plain Diff
Use command -v $foo instead of [ -x /sbin/$foo ] in maintainer script
parent
297b096e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/changelog
+2
-1
2 additions, 1 deletion
debian/changelog
debian/tor.postinst
+1
-1
1 addition, 1 deletion
debian/tor.postinst
with
3 additions
and
2 deletions
debian/changelog
+
2
−
1
View file @
7c0eb100
tor (0.2.9.4-alpha-1.1) experimental; urgency=medium
* Raise Standards-Version to 3.9.8 - no changes needed.
* Use command -v $foo instead of [ -x /sbin/$foo ] in maintainer script.
-- Peter Palfrader <weasel@debian.org> Tue, 08 Nov 2016 13:
27:58
+0100
-- Peter Palfrader <weasel@debian.org> Tue, 08 Nov 2016 13:
30:40
+0100
tor (0.2.9.4-alpha-1) experimental; urgency=medium
...
...
This diff is collapsed.
Click to expand it.
debian/tor.postinst
+
1
−
1
View file @
7c0eb100
...
...
@@ -121,7 +121,7 @@ if [ "$1" = "configure" ] &&
checksum
=
"
`
md5sum
/etc/apparmor.d/usr.sbin.tor |
awk
'{print $1}'
`
"
pkg_md5
=
"
`
dpkg-query
-W
-f
=
'${Conffiles}'
tor |
awk
'$1=="/etc/apparmor.d/usr.sbin.tor" {print $2}'
`
"
if
[
"
$checksum
"
=
"
$pkg_md5
"
]
;
then
if
[
-x
/sbin/
apparmor_parser
]
;
then
if
command
-v
apparmor_parser
>
/dev/null 2>&1
;
then
apparmor_parser
--remove
-T
-W
/etc/apparmor.d/usr.sbin.tor
||
true
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