Fixes for webgui and more native gui development
This commit is contained in:
Vendored
+10
@@ -52,6 +52,16 @@ else
|
||||
mariadb -e "GRANT SELECT, INSERT, UPDATE, DELETE ON \`${DB_NAME}\`.* TO '${DB_USER}'@'localhost'"
|
||||
fi
|
||||
|
||||
echo "Initializing document storage..."
|
||||
if ! getent group yms >/dev/null; then
|
||||
addgroup --system yms
|
||||
fi
|
||||
if ! id -nG www-data | tr ' ' '\n' | grep -qx yms; then
|
||||
adduser www-data yms
|
||||
fi
|
||||
mkdir -p /var/lib/yms/thumb
|
||||
chown -R www-data:yms /var/lib/yms
|
||||
|
||||
db_get yms/webgui
|
||||
if [ "$RET" = "true" ]; then
|
||||
|
||||
|
||||
Reference in New Issue
Block a user