view ci/setup-xvfb.sh @ 26656:ab46f0976435 v8.2.3857

patch 8.2.3857: Vim9: inconsistent error for using function() Commit: https://github.com/vim/vim/commit/2f9f4ccfc8f1d4a56761dc1cc1e9e20190a72c74 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 20 09:36:27 2021 +0000 patch 8.2.3857: Vim9: inconsistent error for using function() Problem: Vim9: inconsistent error for using function(). Solution: Use a runtime type check for the result of function(). (closes #8492)
author Bram Moolenaar <Bram@vim.org>
date Mon, 20 Dec 2021 10:45:04 +0100
parents 1984a3fcc953
children
line wrap: on
line source

#!/bin/bash
set -e

apt-get install -y xvfb

cat <<EOT >/etc/systemd/system/xvfb.service
[Unit]
Description=X Virtual Frame Buffer Service
After=network.target
[Service]
ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24
[Install]
WantedBy=multi-user.target
EOT

systemctl enable xvfb.service
systemctl start xvfb.service