mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04:00
fix: avoid operand evaluation as argument
This commit is contained in:
parent
59a7fd2c4f
commit
2c74ef8074
@ -125,8 +125,8 @@ include:
|
||||
- require:
|
||||
- cmd: "{{ slsdotpath }}-source-build-make-install"
|
||||
- name: |
|
||||
\mkdir -p share/bitcoin
|
||||
\cp -v ~/src/bitcoin/README.md share/bitcoin/
|
||||
\mkdir -p -- share/bitcoin
|
||||
\cp -v -- ~/src/bitcoin/README.md share/bitcoin/
|
||||
- cwd: /home/user/bitcoin-build
|
||||
- runas: user
|
||||
|
||||
@ -135,7 +135,7 @@ include:
|
||||
- require:
|
||||
- cmd: "{{ slsdotpath }}-source-build-make-install"
|
||||
- name: |
|
||||
\cp -v ~/src/bitcoin/share/examples/bitcoin.conf bitcoin.conf
|
||||
\cp -v -- ~/src/bitcoin/share/examples/bitcoin.conf bitcoin.conf
|
||||
- cwd: /home/user/bitcoin-build
|
||||
- runas: user
|
||||
|
||||
@ -144,8 +144,8 @@ include:
|
||||
- require:
|
||||
- cmd: "{{ slsdotpath }}-source-build-make-install"
|
||||
- name: |
|
||||
\mkdir -p share/bash-completion/completions/
|
||||
\cp -v ~/src/bitcoin/contrib/completions/bash/* share/bash-completion/completions/
|
||||
\mkdir -p -- share/bash-completion/completions/
|
||||
\cp -v -- ~/src/bitcoin/contrib/completions/bash/* share/bash-completion/completions/
|
||||
- cwd: /home/user/bitcoin-build
|
||||
- runas: user
|
||||
|
||||
@ -154,8 +154,8 @@ include:
|
||||
- require:
|
||||
- cmd: "{{ slsdotpath }}-source-build-make-install"
|
||||
- name: |
|
||||
\mkdir -p share/rpcauth
|
||||
\cp -v ~/src/bitcoin/share/rpcauth/rpcauth.py share/rpcauth/
|
||||
\mkdir -p -- share/rpcauth
|
||||
\cp -v -- ~/src/bitcoin/share/rpcauth/rpcauth.py share/rpcauth/
|
||||
- cwd: /home/user/bitcoin-build
|
||||
- runas: user
|
||||
|
||||
@ -164,8 +164,8 @@ include:
|
||||
- require:
|
||||
- cmd: "{{ slsdotpath }}-source-build-make-install"
|
||||
- name: |
|
||||
\mkdir -p share/icons/hicolor/scalable/apps/
|
||||
\cp -v ~/src/bitcoin/src/qt/res/src/bitcoin.svg share/icons/hicolor/scalable/apps/
|
||||
\mkdir -p -- share/icons/hicolor/scalable/apps/
|
||||
\cp -v -- ~/src/bitcoin/src/qt/res/src/bitcoin.svg share/icons/hicolor/scalable/apps/
|
||||
- cwd: /home/user/bitcoin-build
|
||||
- runas: user
|
||||
|
||||
|
@ -66,7 +66,7 @@ include:
|
||||
## Multiple detached signatures has bad UX with GPG.
|
||||
- name: |
|
||||
trusted_sigs_number="4"
|
||||
read_sigs_number="$(GNUPGHOME=/home/user/.gnupg/bitcoin/ gpg --status-fd=2 --verify SHA256SUMS.asc 2>&1 | grep -c "^\[GNUPG:\] GOODSIG \S\+ ")"
|
||||
read_sigs_number="$(GNUPGHOME=/home/user/.gnupg/bitcoin/ gpg --status-fd=2 --verify SHA256SUMS.asc 2>&1 | grep -c -e "^\[GNUPG:\] GOODSIG \S\+ ")"
|
||||
if test "${trusted_sigs_number}" != "${read_sigs_number}"; then
|
||||
exit 1
|
||||
fi
|
||||
|
@ -44,7 +44,7 @@ include:
|
||||
|
||||
"{{ slsdotpath }}-copy-package-config-to-qubes-cacher-config":
|
||||
cmd.run:
|
||||
- name: cp -rp /etc/apt-cacher-ng/* /etc/qusal-apt-cacher-ng
|
||||
- name: cp -rp -- /etc/apt-cacher-ng/* /etc/qusal-apt-cacher-ng
|
||||
|
||||
"{{ slsdotpath }}-systemd-service":
|
||||
file.managed:
|
||||
@ -57,7 +57,7 @@ include:
|
||||
|
||||
"{{ slsdotpath }}-update-deb_mirrors.gz":
|
||||
cmd.run:
|
||||
- name: cp /usr/lib/apt-cacher-ng/deb_mirrors.gz /etc/qusal-apt-cacher-ng/deb_mirrors.gz
|
||||
- name: cp -- /usr/lib/apt-cacher-ng/deb_mirrors.gz /etc/qusal-apt-cacher-ng/deb_mirrors.gz
|
||||
- runas: root
|
||||
|
||||
"{{ slsdotpath }}-update-conf":
|
||||
|
@ -37,7 +37,7 @@ the chain (sys-net).
|
||||
- qvm: "sys-mirage-firewall-start-updatevm-{{ updatevm }}"
|
||||
- name: |
|
||||
qvm-run {{ updatevm }} -- "
|
||||
mkdir -p /tmp/mirage-firewall-download
|
||||
mkdir -p -- /tmp/mirage-firewall-download
|
||||
cd /tmp/mirage-firewall-download
|
||||
curl --location \
|
||||
--connect-timeout 10 \
|
||||
@ -58,7 +58,7 @@ the chain (sys-net).
|
||||
- require:
|
||||
- cmd: "sys-mirage-firewall-fetch-tarball"
|
||||
- name:
|
||||
qvm-run --pass-io {{ updatevm }} -- "cat /tmp/mirage-firewall-download/mirage-firewall.tar.bz2" | tee /tmp/mirage-firewall.tar.bz2 >/dev/null
|
||||
qvm-run --pass-io {{ updatevm }} -- "cat /tmp/mirage-firewall-download/mirage-firewall.tar.bz2" | tee -- /tmp/mirage-firewall.tar.bz2 >/dev/null
|
||||
- runas: user
|
||||
- timeout: 10
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user