Further checks and format

This commit is contained in:
m8in
2026-03-30 22:48:08 +02:00
parent 0cbdf5c29c
commit 0b003bc8e6
3 changed files with 16 additions and 4 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/bash
_PKG_NAME='libpam-google-authenticator'
dpkg -l | grep -q -F "${_PKG_NAME}" 2> /dev/null \
&& exit 0
exit 1

View File

@@ -0,0 +1,8 @@
#!/bin/bash
_PKG_NAME='libpam-pwquality'
dpkg -l | grep -q -F "${_PKG_NAME}" 2> /dev/null \
&& exit 0
exit 1