diff --git a/templates/cracklib.tmpl b/templates/cracklib.tmpl index 09a3b00c5cf..ff62cb6f942 100644 --- a/templates/cracklib.tmpl +++ b/templates/cracklib.tmpl @@ -25,4 +25,7 @@ post_install() $destdir/usr/share/dict/cracklib-small sh ./util/cracklib-format dicts/cracklib-small \ | sh ./util/cracklib-packer $destdir/usr/share/cracklib/pw_dict + install -d $destdir/lib/cracklib + install -v $destdir/usr/share/cracklib/pw_dict* $destdir/lib/cracklib + gzip -9 $destdir/lib/cracklib/pw_dict.pwd }