summaryrefslogtreecommitdiffstats
path: root/sysutils/accountsservice/pkg-install
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-05-09 21:15:21 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-05-09 21:15:21 +0800
commit73a712eaabafc5bedc0042c413c9969524f0fc3e (patch)
tree4b5f76bb6c0d8122b157e9cab4f771ce1aeeca59 /sysutils/accountsservice/pkg-install
parented8a6ee4909ea422fbfdc1ce0f2009a8e8d1cab8 (diff)
downloadmarcuscom-ports-73a712eaabafc5bedc0042c413c9969524f0fc3e.tar
marcuscom-ports-73a712eaabafc5bedc0042c413c9969524f0fc3e.tar.gz
marcuscom-ports-73a712eaabafc5bedc0042c413c9969524f0fc3e.tar.bz2
marcuscom-ports-73a712eaabafc5bedc0042c413c9969524f0fc3e.tar.lz
marcuscom-ports-73a712eaabafc5bedc0042c413c9969524f0fc3e.tar.xz
marcuscom-ports-73a712eaabafc5bedc0042c413c9969524f0fc3e.tar.zst
marcuscom-ports-73a712eaabafc5bedc0042c413c9969524f0fc3e.zip
Make sure we create directories AccountsService uses internaly.
Reported by: Joe Maloney Tested by: Joe Maloney git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18438 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/accountsservice/pkg-install')
-rw-r--r--sysutils/accountsservice/pkg-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysutils/accountsservice/pkg-install b/sysutils/accountsservice/pkg-install
new file mode 100644
index 000000000..65319d213
--- /dev/null
+++ b/sysutils/accountsservice/pkg-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+case $2 in
+POST-INSTALL)
+ /bin/mkdir -p /var/db/AccountsService/users/
+ /bin/mkdir -p /var/db/AccountsService/icons/
+ exit 0
+ ;;
+esac