Skip to content

Commit 736f42e

Browse files
committed
Flush the cache.
1 parent ae88b1f commit 736f42e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ uninstall:
135135
clean:
136136
rm -f update-passwd update-passwd.html update-passwd.1 update-passwd.1.gz
137137
rm -f update-passwd.sed logo.svg passwd-fink.conf group-fink.conf
138-
rm -f *.tgz *.md5 *.sig
138+
rm -f *.tgz *.md5 *.sig *.sha256
139139
rm -f docbook-xsl.css
140140
rm -f README.removing-users.html README.passwd-configs.html README.html
141141
rm -f *~ index.html

update-passwd.tool

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ if [ "${sysadminctlVersionRun}" = "1" ]; then
295295
commands+=(
296296
dsimport
297297
dseditgroup
298+
dsmemberutil
298299
/usr/libexec/PlistBuddy
299300
)
300301
fi
@@ -375,6 +376,7 @@ elif [ "${opMode}" = "user" ]; then
375376
: "${gidNumber="$(dscl . -read "/groups/${GROUPNAME}" PrimaryGroupID | cut -d ' ' -f '2')"}"
376377
if [ "${sysadminctlVersionRun}" = "1" ]; then
377378
dsImport "${SHORTNAME}" "$(uidNumber "${SHORTNAME}")" "${gidNumber}" "${HOME}" "${SHELL}" "${INFO}"
379+
dsmemberutil flushcache
378380
else
379381
dsclUser "${SHORTNAME}" "$(uidNumber "${SHORTNAME}")" "${gidNumber}" "${HOME}" "${SHELL}" "${INFO}"
380382
fi

0 commit comments

Comments
 (0)