projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2dae0e0
)
check for /etc/pam.d/common-* to avoid warning on RH
author
Alain Peyrat
<aljeux@free.fr>
Tue, 24 Feb 2009 10:22:33 +0000
(10:22 +0000)
committer
Alain Peyrat
<aljeux@free.fr>
Tue, 24 Feb 2009 10:22:33 +0000
(10:22 +0000)
gforge/deb-specific/install-chroot.sh
patch
|
blob
|
history
diff --git
a/gforge/deb-specific/install-chroot.sh
b/gforge/deb-specific/install-chroot.sh
index f4b098ff49425cfb099694c1c7c240ba00fdcf9b..3b6f8ecd961e3759cde9db7a342c5e53915aa212 100644
(file)
--- a/
gforge/deb-specific/install-chroot.sh
+++ b/
gforge/deb-specific/install-chroot.sh
@@
-109,7
+109,7
@@
FIN
[ -f /etc/pam.d/su ] && cp /etc/pam.d/su $CHROOTDIR/etc/pam.d
[ -f /etc/pam.d/cvs ] && cp /etc/pam.d/cvs $CHROOTDIR/etc/pam.d
[ -f /etc/pam.d/other ] && cp /etc/pam.d/other $CHROOTDIR/etc/pam.d
- cp /etc/pam.d/common* $CHROOTDIR/etc/pam.d
+
[ "`ls /etc/pam.d/common* 2>/dev/null`" ] &&
cp /etc/pam.d/common* $CHROOTDIR/etc/pam.d
cp /lib/libpam* $CHROOTDIR/lib
cp /lib/libnss_files* $CHROOTDIR/lib