diff options
Diffstat (limited to 'tombopen')
-rwxr-xr-x | tombopen | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -22,5 +22,10 @@ elif [ ! -e "$KEYS/$TOMB.tomb.key" ]; then exit 1 fi +# Unnanex +if [ -d "$TOMBS/.git/annex" ] && [ -h "$TOMBS/$TOMB.tomb" ]; then + ( cd $TOMBS && git annex unlock $TOMB.tomb ) +fi + # Dispatch tomb open $TOMBS/$TOMB.tomb -k $KEYS/$TOMB.tomb.key |