cracklib/cracklib.install
2024-10-24 23:22:59 +08:00

21 lines
389 B
Plaintext

# This is a default template for a post-install scriptlet.
# Uncomment only required functions and remove any functions
# you don't need (and this header).
post_install() {
/usr/sbin/create-cracklib-dict -o /usr/share/cracklib/pw_dict /usr/share/cracklib/cracklib-words
}
pre_upgrade() {
pre_remove
}
post_upgrade() {
post_install
}
pre_remove() {
rm -rf /usr/share/cracklib
}