From e8e8fe0bd90c01c90d0b2ffa2f2b828a06c786ae Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Wed, 4 Oct 2017 12:41:19 +0530 Subject: [PATCH] setup: Remove freedombox-setup related scripts From freedombox-setup all the setup mechanisms and first-run mechanisms have been removed. This script no longer does anything and is not needed. Ensuring that the directories have proper permissions is now the duty of Plinth Debian packaging. Signed-off-by: Sunil Mohan Adapa Signed-off-by: Joseph Nuthalpati Reviewed-by: James Valleroy --- data/usr/lib/freedombox/setup.d/86_plinth | 22 ---------------------- setup.py | 2 -- 2 files changed, 24 deletions(-) delete mode 100755 data/usr/lib/freedombox/setup.d/86_plinth diff --git a/data/usr/lib/freedombox/setup.d/86_plinth b/data/usr/lib/freedombox/setup.d/86_plinth deleted file mode 100755 index 5ba1ccde6..000000000 --- a/data/usr/lib/freedombox/setup.d/86_plinth +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh -# -# This file is part of Plinth. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# - -set -e - -# Ensure that DB and log file permissions are correct -chown -R plinth: /var/lib/plinth /var/log/plinth diff --git a/setup.py b/setup.py index 6f1b3e89e..26c08eb39 100755 --- a/setup.py +++ b/setup.py @@ -227,8 +227,6 @@ setuptools.setup( 'locale/*/LC_MESSAGES/*.[pm]o']}, data_files=[('/usr/lib/firewalld/services/', glob.glob('data/usr/lib/firewalld/services/*.xml')), - ('/usr/lib/freedombox/setup.d/', - ['data/usr/lib/freedombox/setup.d/86_plinth']), ('/etc/apache2/conf-available', glob.glob('data/etc/apache2/conf-available/*.conf')), ('/etc/apache2/sites-available',