Disable pixelfed for now

It needs a later version of php than exists in debian
This commit is contained in:
Bob Mottram 2018-06-01 18:42:40 +01:00
parent ae55c84b0b
commit 713b433cd3
1 changed files with 7 additions and 2 deletions

View File

@ -7,6 +7,10 @@
# #
# Freedom in the Cloud # Freedom in the Cloud
# #
# Pixeldef app
#
# Requires php 7.1.3 but debian version is 7.0.27
#
# License # License
# ======= # =======
# #
@ -25,7 +29,7 @@
# You should have received a copy of the GNU Affero General Public License # You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
VARIANTS='full full-vim' VARIANTS=''
IN_DEFAULT_INSTALL=0 IN_DEFAULT_INSTALL=0
SHOW_ON_ABOUT=1 SHOW_ON_ABOUT=1
@ -316,6 +320,8 @@ function install_pixelfed {
git checkout "$PIXELFED_COMMIT" -b "$PIXELFED_COMMIT" git checkout "$PIXELFED_COMMIT" -b "$PIXELFED_COMMIT"
set_completion_param "pixelfed commit" "$PIXELFED_COMMIT" set_completion_param "pixelfed commit" "$PIXELFED_COMMIT"
install_composer
chmod g+w "/var/www/$PIXELFED_DOMAIN_NAME/htdocs" chmod g+w "/var/www/$PIXELFED_DOMAIN_NAME/htdocs"
chown -R www-data:www-data "/var/www/$PIXELFED_DOMAIN_NAME/htdocs" chown -R www-data:www-data "/var/www/$PIXELFED_DOMAIN_NAME/htdocs"
@ -409,7 +415,6 @@ function install_pixelfed {
sed -i "s|MAIL_HOST=.*|MAIL_HOST=localhost|g" "/var/www/$PIXELFED_DOMAIN_NAME/htdocs/.env" sed -i "s|MAIL_HOST=.*|MAIL_HOST=localhost|g" "/var/www/$PIXELFED_DOMAIN_NAME/htdocs/.env"
sed -i "s|MAIL_PORT=.*|MAIL_PORT=25|g" "/var/www/$PIXELFED_DOMAIN_NAME/htdocs/.env" sed -i "s|MAIL_PORT=.*|MAIL_PORT=25|g" "/var/www/$PIXELFED_DOMAIN_NAME/htdocs/.env"
install_composer
chown -R www-data:www-data "/var/www/$PIXELFED_DOMAIN_NAME/htdocs" chown -R www-data:www-data "/var/www/$PIXELFED_DOMAIN_NAME/htdocs"
create_site_certificate "$PIXELFED_DOMAIN_NAME" 'yes' create_site_certificate "$PIXELFED_DOMAIN_NAME" 'yes'