diff options
Diffstat (limited to 'git-maintenance/get.sh')
-rwxr-xr-x | git-maintenance/get.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-maintenance/get.sh b/git-maintenance/get.sh index a655762..7bff0ab 100755 --- a/git-maintenance/get.sh +++ b/git-maintenance/get.sh @@ -37,12 +37,12 @@ mv -f objects/pack/* objects/pack.bak/ # 3. download .git/encrypted with wget curl -sfI "$URLPFX"/refs.aes>/dev/null && wget "$URLPFX"/refs.aes -O encrypted/refs.aes || echo "==== BROKEN REMOTE refs.aes PLEASE RE-STORE OR RECOVER ====" -openssl aes-256-cbc -salt -pbkdf2 -pass "file:$PASS" -d -in encrypted/refs.aes | tar -zxvf - +openssl aes-256-cbc -salt -pbkdf2 -pass "file:$PASS" -d -in encrypted/refs.aes | tar -Jxvf - for encpack in $(<encrypted/list.txt) do wget "$URLPFX"/"$encpack" -O .git/encrypted/"$encpack" - openssl aes-256-cbc -salt -pbkdf2 -pass "file:$PASS" -d -in .git/encrypted/"$encpack" | tar -zxvf - + openssl aes-256-cbc -salt -pbkdf2 -pass "file:$PASS" -d -in .git/encrypted/"$encpack" | tar -Jxvf - done for pack in objects/pack/*.pack |