mirror of
https://github.com/PurpleComputing/mdmscripts.git
synced 2026-02-03 06:03:26 +00:00
Update launch-dock-add.sh
This commit is contained in:
@@ -16,7 +16,7 @@ runAsUser() {
|
||||
|
||||
if [ "$EMPTYDOCK" == "Y" ]; then
|
||||
if [ "$ASUSER" == "Y" ]; then
|
||||
runAsUser /usr/local/bin/dockutil --remove all
|
||||
runAsUser /usr/local/bin/dockutil --remove all --homeloc /Users/$currentUser/
|
||||
else
|
||||
/usr/local/bin/dockutil --remove all --allhomes
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user