fixed simpleid-9999-r1

This commit is contained in:
tastytea 2018-06-22 11:46:44 +02:00
parent ed4ae3b3e9
commit d14ed5de95
Signed by untrusted user: tastytea
GPG Key ID: 59346E0EA35C67E5

View File

@ -25,23 +25,14 @@ src_unpack() {
}
src_install() {
mkdir -p cache/simpleid
if use nginx; then
fowners nginx:nginx cache/simpleid
fi
insinto /var/cache
doins -r cache/simpleid
keepdir /etc/simpleid
mkdir -p identities/simpleid
insinto /etc
doins -r identities/simpleid
mkdir -p store/simpleid
if use nginx; then
fowners nginx:nginx store/simpleid
diropts -o nginx -g nginx
fi
insinto /var/db
doins -r store/simpleid
keepdir /var/cache/simpleid
keepdir /var/db/simpleid
mv www/config.php{.dist,}
insinto /usr/share/webapps/simpleid