10 lines
164 B
Bash
10 lines
164 B
Bash
#!/bin/sh
|
|
|
|
user=www-data
|
|
|
|
grep '^$user' /etc/passwd | wc -l > /dev/null
|
|
if [ $? -ne 0 ]
|
|
then
|
|
chown -R www-data:www-data storage bootstrap/cache modules.json
|
|
fi
|