Skip to content
Snippets Groups Projects
Commit 43b51014 authored by Bob Mottram's avatar Bob Mottram
Browse files

Don't set permissions

parent c93090fa
No related branches found
No related tags found
No related merge requests found
......@@ -1229,10 +1229,6 @@ function upgrade_pleroma {
cd /etc/postgresql || exit 356735
sudo -u postgres psql pleroma -c "create extension if not exists pg_trgm"
if [ -d $PLEROMA_DIR/deps ]; then
chmod -R 755 $PLEROMA_DIR/deps
fi
systemctl restart pleroma
if grep 'add_header' "/etc/nginx/sites-available/$PLEROMA_DOMAIN_NAME"; then
......@@ -1660,10 +1656,6 @@ function install_pleroma {
sed -i 's|"chatDisabled":.*|"chatDisabled": true,|g' $PLEROMA_DIR/priv/static/static/config.json
sed -i 's|"media_proxy".*|"media_proxy": false|g' $PLEROMA_DIR/priv/static/static/config.json
if [ -d $PLEROMA_DIR/deps ]; then
chmod -R 755 $PLEROMA_DIR/deps
fi
systemctl daemon-reload
systemctl enable pleroma
systemctl start pleroma
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment