mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 05:17:54 +00:00
Add "Provides: sudo" to debian sudo-ldap package
This commit is contained in:
parent
958e39fc6a
commit
5904f7ede9
1
sudo.pp
1
sudo.pp
@ -247,6 +247,7 @@ still allow people to get their work done."
|
|||||||
elif test "%{flavor}" = "ldap"; then
|
elif test "%{flavor}" = "ldap"; then
|
||||||
echo "Conflicts: sudo" >> %{pp_wrkdir}/%{name}/DEBIAN/control
|
echo "Conflicts: sudo" >> %{pp_wrkdir}/%{name}/DEBIAN/control
|
||||||
echo "Replaces: sudo" >> %{pp_wrkdir}/%{name}/DEBIAN/control
|
echo "Replaces: sudo" >> %{pp_wrkdir}/%{name}/DEBIAN/control
|
||||||
|
echo "Provides: sudo" >> %{pp_wrkdir}/%{name}/DEBIAN/control
|
||||||
cp -p %{pp_wrkdir}/%{name}/DEBIAN/control %{pp_wrkdir}/%{name}/DEBIAN/control.$$
|
cp -p %{pp_wrkdir}/%{name}/DEBIAN/control %{pp_wrkdir}/%{name}/DEBIAN/control.$$
|
||||||
sed 's/^\(Depends:.*\) *$/\1, libldap-2.4-2/' %{pp_wrkdir}/%{name}/DEBIAN/control.$$ > %{pp_wrkdir}/%{name}/DEBIAN/control
|
sed 's/^\(Depends:.*\) *$/\1, libldap-2.4-2/' %{pp_wrkdir}/%{name}/DEBIAN/control.$$ > %{pp_wrkdir}/%{name}/DEBIAN/control
|
||||||
rm -f %{pp_wrkdir}/%{name}/DEBIAN/control.$$
|
rm -f %{pp_wrkdir}/%{name}/DEBIAN/control.$$
|
||||||
|
Loading…
x
Reference in New Issue
Block a user