view ci/setup-xvfb.sh @ 24766:29ed95687f74 v8.2.2921

patch 8.2.2921: E704 for script local variable is not backwards compatible Commit: https://github.com/vim/vim/commit/b54abeeafb074248597878a874fed9a66b114c06 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 2 11:49:23 2021 +0200 patch 8.2.2921: E704 for script local variable is not backwards compatible Problem: E704 for script local variable is not backwards compatible. (Yasuhiro Matsumoto) Solution: Only give the error in Vim9 script. Also check for function-local variable.
author Bram Moolenaar <Bram@vim.org>
date Wed, 02 Jun 2021 12:00:06 +0200
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