فهرست منبع

flush cosmetic changes

Thomas Lotterer 22 سال پیش
والد
کامیت
e8f0606bf8
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      openssh/openssh.spec

+ 2 - 2
openssh/openssh.spec

@@ -263,8 +263,8 @@ AutoReqProv:  no
             -N '' -C `hostname` 1>&2
     fi
 
-    #   add PAM configuration entry
 %if "%{with_pam}" == "yes"
+    #   add PAM configuration entry
     if [ $1 -eq 1 ]; then
         $RPM_INSTALL_PREFIX/sbin/pamtool --add --smart --name=openssh
     fi
@@ -277,7 +277,7 @@ AutoReqProv:  no
     exit 0
 
 %preun
-    #   before erase, stop service
+    #   before erase, stop service and remove log files
     [ $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