view ci/setup-xvfb.sh @ 26759:31c23760d590 v8.2.3908

patch 8.2.3908: cannot use a script-local function for 'foldtext' Commit: https://github.com/vim/vim/commit/27708e6c7b6f444fd599f3dc5015336b002b874d Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sun Dec 26 21:54:43 2021 +0000 patch 8.2.3908: cannot use a script-local function for 'foldtext' Problem: Cannot use a script-local function for 'foldtext'. Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/9411)
author Bram Moolenaar <Bram@vim.org>
date Sun, 26 Dec 2021 23:00: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