Mercurial > vim
view ci/setup-xvfb.sh @ 31756:07d54b738497 v9.0.1210
patch 9.0.1210: compiler complains about declaration after label
Commit: https://github.com/vim/vim/commit/b391e1f805fdd288cbe9103d92c21eff5dcc97c4
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 16 19:51:03 2023 +0000
patch 9.0.1210: compiler complains about declaration after label
Problem: Compiler complains about declaration after label.
Solution: Move declaration to beginning of block (John Marriott)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 16 Jan 2023 21: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