view ci/setup-xvfb.sh @ 34600:3b8ed014a445 v9.1.0192

patch 9.1.0192: drop: don't rewind when editing the same file Commit: https://github.com/vim/vim/commit/978178823b7c62a0249411f3d1f584f8a3144c5d Author: Christian Brabandt <cb@256bit.org> Date: Wed Mar 20 20:19:47 2024 +0100 patch 9.1.0192: drop: don't rewind when editing the same file Problem: :drop tries to :rewind the argumentlist, which results in E37 (after v9.1.0046) Solution: instead of calling ex_rewind(), call open_buffer() only when re-using the initial empty buffer fixes: #14219 closes: #14220 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 20 Mar 2024 20:30:07 +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