Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sssd
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian SSSD packaging
sssd
Commits
0bc80bdb
Commit
0bc80bdb
authored
1 year ago
by
Timo Aaltonen
Browse files
Options
Downloads
Patches
Plain Diff
libnss-sss.postinst: Migrate to use 'case' like the other postinsts.
parent
744b3e30
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#523145
failed with stages
in 17 minutes and 24 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/changelog
+6
-0
6 additions, 0 deletions
debian/changelog
debian/libnss-sss.postinst
+20
-11
20 additions, 11 deletions
debian/libnss-sss.postinst
with
26 additions
and
11 deletions
debian/changelog
+
6
−
0
View file @
0bc80bdb
sssd (2.8.2-5) UNRELEASED; urgency=medium
* libnss-sss.postinst: Migrate to use 'case' like the other postinsts.
-- Timo Aaltonen <tjaalton@debian.org> Thu, 27 Apr 2023 17:24:24 +0300
sssd (2.8.2-4) unstable; urgency=medium
[ Sam Morris ]
...
...
This diff is collapsed.
Click to expand it.
debian/libnss-sss.postinst
+
20
−
11
View file @
0bc80bdb
#!/bin/sh
set
-e
action
=
"
$1
"
case
"
$1
"
in
configure
)
if
[
-n
"
$2
"
]
;
then
# upgrade
version
=
"
$2
"
if
[
configure
=
"
$action
"
]
;
then
if
[
-n
"
$2
"
]
;
then
# upgrade
version
=
"
$2
"
# fix automount typo
if
dpkg
--compare-versions
$version
lt
"2.2.3-3"
;
then
sed
-i
's/automounter/automount/'
"
${
DPKG_ROOT
}
/etc/nsswitch.conf"
# fix automount typo
if
dpkg
--compare-versions
$version
lt
"2.2.3-3"
;
then
sed
-i
's/automounter/automount/'
"
${
DPKG_ROOT
}
/etc/nsswitch.conf"
fi
fi
fi
fi
;;
abort-upgrade|abort-remove|abort-deconfigure
)
;;
*
)
echo
"postinst called with unknown argument
\`
$1
'"
>
&2
exit
1
;;
esac
#DEBHELPER#
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