blob: e508a2e880993ad23e7081694c23439520fec8eb (
plain) (
tree)
|
|
#!/bin/bash
if [ -z "$NIXOPS_CONFIG_PASS_SUBTREE_PATH" ]; then
echo "Please set NIXOPS_CONFIG_PASS_SUBTREE_PATH to the password-store subtree path"
exit 1;
fi
if [ -z "$NIXOPS_CONFIG_PASS_SUBTREE_REMOTE" ]; then
echo "Please set NIXOPS_CONFIG_PASS_SUBTREE_REMOTE to the password-store subtree remote name"
exit 1;
fi
pass git subtree pull --prefix=$NIXOPS_CONFIG_PASS_SUBTREE_PATH $NIXOPS_CONFIG_PASS_SUBTREE_REMOTE master
|