Browse Source

And drop withdrawn books

Samuel W. Flint 3 years ago
parent
commit
be4b0e86f5
1 changed files with 2 additions and 0 deletions
  1. 2 0
      library

+ 2 - 0
library

@@ -225,6 +225,8 @@ function remove_withdrawn {
     TMPDIR=. recdel -t Book \
           -e "Location ~ \"WITHDRAWN\"" \
           "${LIBRARY_FILE}"
+    do_git add $(basename ${LIBRARY_FILE})
+    do_git commit -m "Remove Withdrawn Books"
 }
 # withdraw-books ends here