Thomas Lotterer %!s(int64=22) %!d(string=hai) anos
pai
achega
66b3073993
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      openssh/openssh.spec

+ 2 - 1
openssh/openssh.spec

@@ -277,11 +277,12 @@ AutoReqProv:  no
     exit 0
 
 %preun
-    #   before erase, stop service, remove PAM configuraten entry and remove log files
+    #   before erase, stop service
     [ $1 -eq 0 ] || exit 0
     %{l_rc} openssh stop 2>/dev/null
     rm -f $RPM_INSTALL_PREFIX/var/openssh/openssh.log* >/dev/null 2>&1 || true
 %if "%{with_pam}" == "yes"
+    #   remove PAM configuration entry
     $RPM_INSTALL_PREFIX/sbin/pamtool --remove --smart --name=openssh
 %endif
     exit 0