summaryrefslogtreecommitdiff
path: root/base-passwd/base-passwd_3.5.4.oe
diff options
context:
space:
mode:
Diffstat (limited to 'base-passwd/base-passwd_3.5.4.oe')
-rw-r--r--base-passwd/base-passwd_3.5.4.oe17
1 files changed, 8 insertions, 9 deletions
diff --git a/base-passwd/base-passwd_3.5.4.oe b/base-passwd/base-passwd_3.5.4.oe
index 004793b382..afe0972dd6 100644
--- a/base-passwd/base-passwd_3.5.4.oe
+++ b/base-passwd/base-passwd_3.5.4.oe
@@ -43,15 +43,9 @@ do_install () {
pkg_postinst () {
set -e
- if [ X"$1" != Xconfigure ]; then
- exit 0
- fi
-
- if ! [ -x ${sbindir}/update-passwd ]; then
- echo >&2 "`dirname $0`: ${sbindir}/update-passwd does not exist,"
- echo >&2 "or is not executable"
- exit 1
- fi
+# if [ X"$1" != Xconfigure ]; then
+# exit 0
+# fi
if [ ! -e ${D}/${sysconfdir}/passwd ] ; then
cp ${D}/${datadir}/base-passwd/passwd.master ${D}/${sysconfdir}/passwd
@@ -61,6 +55,11 @@ pkg_postinst () {
cp ${D}/${datadir}/base-passwd/group.master ${D}/${sysconfdir}/group
fi
+# if ! [ -x ${sbindir}/update-passwd ]; then
+# echo >&2 "`dirname $0`: ${sbindir}/update-passwd does not exist,"
+# echo >&2 "or is not executable"
+# exit 1
+# fi
# update-passwd -p ${D}/${datadir}/base-passwd/passwd.master \
# -g ${D}/${datadir}/base-passwd/group.master \
# -P ${D}/${sysconfdir}/passwd \