]> git.pld-linux.org Git - packages/openssh.git/commitdiff
- rel 3 auto/th/openssh-5_2p1-3
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 26 May 2009 22:26:05 +0000 (22:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added post(un) for schema package

Changed files:
    openssh.spec -> 1.316

openssh.spec

index cb61d134c085c11ff52dac6a7704cdc513d94bb3..8e07b5c9f503a6a1c672cf2bb443afba511e8fb0 100644 (file)
@@ -22,7 +22,7 @@ Summary(ru.UTF-8):    OpenSSH - свободная реализация прото
 Summary(uk.UTF-8):     OpenSSH - вільна реалізація протоколу Secure Shell (SSH)
 Name:          openssh
 Version:       5.2p1
-Release:       2
+Release:       3
 Epoch:         2
 License:       BSD
 Group:         Applications/Networking
@@ -610,6 +610,16 @@ if [ "$1" = "0" ]; then
        %userremove sshd
 fi
 
+%post -n openldap-schema-openssh-lpk
+%openldap_schema_register %{schemadir}/openssh-lpk.schema
+%service -q ldap restart
+
+%postun -n openldap-schema-openssh-lpk
+if [ "$1" = "0" ]; then
+       %openldap_schema_unregister %{schemadir}/openssh-lpk.schema
+       %service -q ldap restart
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc *.RNG TODO README OVERVIEW CREDITS Change*
This page took 0.361699 seconds and 4 git commands to generate.