ne
This commit is contained in:
@@ -38,11 +38,11 @@ in
|
||||
runtimeInputs = with pkgs; [ curl iproute2 jq ];
|
||||
text = ''
|
||||
test -s /run/secrets/domeneshop/token || {
|
||||
>&2 echo "ERROR: /run/secrets/domeneshop/token not found!"
|
||||
echo >&2 "ERROR: /run/secrets/domeneshop/token not found!"
|
||||
exit 1
|
||||
}
|
||||
test -s /run/secrets/domeneshop/secret || {
|
||||
>&2 echo "ERROR: /run/secrets/domeneshop/secret not found!"
|
||||
echo >&2 "ERROR: /run/secrets/domeneshop/secret not found!"
|
||||
exit 1
|
||||
}
|
||||
DOMENESHOP_TOKEN="$( cat /run/secrets/domeneshop/token)"
|
||||
|
||||
@@ -33,7 +33,7 @@ let
|
||||
time rsync -r --chmod +rw --copy-links ${root}/ .
|
||||
|
||||
test ! -e pagefind || {
|
||||
>&2 echo 'ERROR: `root` input has `pagefind` already in it!'
|
||||
echo >&2 'ERROR: `root` input has `pagefind` already in it!'
|
||||
false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user