mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
PAM: Delete old lib and symlinks
Core 119 update delivers an updated PAM whereby the libdir has been changed from /lib to /usr/lib but the old libraries and symlinks are still presant. Since the system searches /lib before /usr/lib , the old libs and symlinks are used which ends up in an `LIBPAM_EXTENSION_1.1' not found. Signed-off-by: Erik Kapfer <erik.kapfer@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
cdc1a0e901
commit
e779b6bc7a
@@ -34,6 +34,11 @@ done
|
||||
# Remove forgotten PHP file
|
||||
rm -f /etc/httpd/conf/conf.d/php5.conf
|
||||
|
||||
# Delete old PAM libs and symlinks if presant
|
||||
if ls /lib | grep -q 'libpam.*'; then
|
||||
rm -f /lib/libpam*
|
||||
fi
|
||||
|
||||
# Stop services
|
||||
|
||||
# Extract files
|
||||
|
||||
Reference in New Issue
Block a user