exit-post-hook-unlock.sh: use a trap to release the lock
-rw-r--r-- 697 README
-rwxr-xr-x 694 enter-pre-hook-lock.sh
-rwxr-xr-x 851 exit-post-hook-unlock.sh