X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=nixops%2Fscripts%2Fpull_environment;fp=nixops%2Fscripts%2Fpull_environment;h=0000000000000000000000000000000000000000;hb=4506dbe51901f66406a02042b2097b3b3856e8a6;hp=e508a2e880993ad23e7081694c23439520fec8eb;hpb=2232653330cedd11ac2aa64bdac994137cb26e80;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/nixops/scripts/pull_environment b/nixops/scripts/pull_environment deleted file mode 100755 index e508a2e..0000000 --- a/nixops/scripts/pull_environment +++ /dev/null @@ -1,13 +0,0 @@ -#!/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