view ci/setup-xvfb.sh @ 23295:d9ae7dd3a0f2 v8.2.2193

patch 8.2.2193: Vim9: can change constant in :def function Commit: https://github.com/vim/vim/commit/3bdc90b7dfab314768a8f56454ea62929524f05c Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 22 20:35:40 2020 +0100 patch 8.2.2193: Vim9: can change constant in :def function Problem: Vim9: can change constant in :def function. Solution: Check if a variable is locked. (issue https://github.com/vim/vim/issues/7526)
author Bram Moolenaar <Bram@vim.org>
date Tue, 22 Dec 2020 20: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