style
This commit is contained in:
parent
64060a4a10
commit
cde6df9dcc
|
@ -45,9 +45,9 @@ case $1 in
|
|||
fi
|
||||
;;
|
||||
installed)
|
||||
OPENSSH_SERVER=`dpkg -s openssh-server | grep -i "Status:.*install.*ok.*installed" | wc -l`
|
||||
OPENSSH_CLIENT=`dpkg -s openssh-client | grep -i "Status:.*install.*ok.*installed" | wc -l`
|
||||
if [ ${OPENSSH_SERVER} -eq 1 -a ${OPENSSH_CLIENT} -eq 1 ];then
|
||||
OPENSSH_SERVER=$(dpkg -s openssh-server | grep -i "Status:.*install.*ok.*installed" | wc -l)
|
||||
OPENSSH_CLIENT=$(dpkg -s openssh-client | grep -i "Status:.*install.*ok.*installed" | wc -l)
|
||||
if [ ${OPENSSH_SERVER} -eq 1 -a ${OPENSSH_CLIENT} -eq 1 ]; then
|
||||
:
|
||||
else
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue