Mercurial > vim
view ci/setup-xvfb.sh @ 28690:9a7a2908e1a8 v8.2.4869
patch 8.2.4869: expression in command block does not look after NL
Commit: https://github.com/vim/vim/commit/e442d59f6d6732c226d636067c07b7342838b36b
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 5 12:20:28 2022 +0100
patch 8.2.4869: expression in command block does not look after NL
Problem: Expression in command block does not look after NL.
Solution: Skip over NL to check what follows. (closes https://github.com/vim/vim/issues/10358)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 05 May 2022 13:30:05 +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